When compiling with Visual C++, I usually put the following lines
somewhere in my debug code:

 > #ifdef _DEBUG
 >   _CrtSetDbgFlag(_CRTDBG_CHECK_ALWAYS_DF   ||
 >                  _CRTDBG_DELAY_FREE_MEM_DF ||
 >                  _CRTDBG_LEAK_CHECK_DF);
 > #endif

and

 > #ifdef _DEBUG
 >   IMAssert(_CrtCheckMemory());
 >   IMAssert(!_CrtDumpMemoryLeaks());
 > #endif

With OpenSSL 0.9.4, Visual C++ reports memory leaks even if I only
use these two lines of OpenSSL code:

 > SSL_CTX *ctx = SSL_CTX_new(SSLv2_server_method());
 > SSL_CTX_free(ctx);

Question is: do I have to free anything else manually or is the
leak caused by a OpenSSL "bug".

Thanks, Remo
_______________________________________________________________________

[ [EMAIL PROTECTED] ] "Ich dusche warm!" [ http://public.toilet.ch/ ]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to