Add OPENSSL_free at the end of CRYPTO_destroy_dynlockid.

This commit is contained in:
Bodo Möller 2000-06-19 13:53:15 +00:00
parent e73a6965e3
commit 95a9fea711

View File

@ -246,7 +246,10 @@ void CRYPTO_destroy_dynlockid(int i)
CRYPTO_w_unlock(CRYPTO_LOCK_DYNLOCK);
if (pointer)
{
dynlock_destroy_callback(pointer->data,__FILE__,__LINE__);
OPENSSL_free(pointer);
}
}
struct CRYPTO_dynlock_value *CRYPTO_get_dynlock_value(int i)