Hi all,

 

I have an issue with SSL session structure memory allocation and freeing.  Upon initialization, I perform the following:

 

Allocate memory for SSL_CTX by SSL_CTX_new()

Initialize the context with a cert.

Allocate memory for input and output buffers via BIO_new()

Allocate and initialize a new SSL session structure with SSL_new(SSL_CTX*)

Set BIO/Set Connect state.

 

Now when I’m done using the SSL session above, I call SSL_free().  The problem is that I’m getting roughly 10k memory leak before the session is allocated and after it is destroyed.

 

Please help!

 

Thank you,

-Areg

 

 

Reply via email to