> CRYPTO_malloc()       in .\crypto\mem.c
> ERR_get_state()       in .\crypto\err.c
> ERR_clear_error()     in .\crypto\err.c       
> ASN1_d2i_bio()                in .\crypto\asn1\a_d2i_fp.c     
> d2iX509_CRL_bio()     in .\crypto\x509\x_all.c
> main()                        
> mainCRTStartup()
> 

void
openssl_cleanup(void)
{
        // Clean up OpenSSL globals
        SSL_CTX_flush_sessions(ACE_SSL_Context::instance()->context(), 0);
        ERR_remove_state(0);
        ERR_free_strings();
        EVP_cleanup();
}


There may be others; that's all we've needed so far to get rid of our
memory leak warnings. The "ERR_remove_state(0)" call is the one that
will do it for you...

-- 
Harald Koch     <[EMAIL PROTECTED]>

"It takes a child to raze a village."
                -Michael T. Fry
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to