> Those are last two lines of my thread execution callback.
> 
> If you call any openssl's free function after ERR_remove_state(0), you
> will have a memory leak, because it will create another thread context
> that will never be freed.

So i can do 
SSL_free(clientssl);
SSL_CTX_free(clientsslctx);
ERR_clear_error();
ERR_remove_state(0);
At the end of my thread?
What kind of locking functions do I _need_?
Thanks,
Stephan

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

Reply via email to