On Wed, Aug 16, 2006, Lee Merrill wrote: > Hi everyone, > > It seems I am leaking memory every time I call EVP_encrypt/decrypt > routines, about 240 bytes are leaked by OPENSSL_malloc(), this happens > in versions 0.9.7d, in the FIPS-certified version 1.0, and in the latest > version 0.9.8b. > > I found two bug reports that might possibly be pertinent here: >
The manual pages are more pertinent :-) You need to call EVP_CIPHER_CTX_cleanup() to free up any memory associated with the ctx. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
