• M
    Fix mem leaks during auto-deinit · 135648bc
    Matt Caswell 提交于
    Certain functions are automatically called during auto-deinit in order
    to deallocate resources. However, if we have never entered a function which
    marks lib crypto as inited then they never get called. This can happen if
    the user only ever makes use of a small sub-set of functions that don't hit
    the auto-init code.
    
    This commit ensures all such resources deallocated by these functions also
    init libcrypto when they are initially allocated.
    Reviewed-by: NRichard Levitte <levitte@openssl.org>
    Reviewed-by: NBen Laurie <ben@openssl.org>
    135648bc
b_addr.c 23.6 KB