Hi,

I notice that when SSL_CTX_new() is called, the following call sequence
happens :
SSL_CTX_new -> SSL_get_ex_data_X509_STORE_CTX_idx ->
 X509_STORE_CTX_get_ex_new_index -> CRYPTO_get_ex_new_index

And the memory (56 bytes) that is allocated by CRYPTO_get_ex_new_index()
doesnt get freed when I call the following functions at the end :
  SSL_free()
  SSL_CTX_free()
  ERR_free_strings();
  ERR_remove_state(0);
  EVP_cleanup();

Is there some other cleanup function that I need to call ensure that those
56 bytes also get freed ?

Thanks
Rampi
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to