On Thu, Nov 16, 2000 at 10:22:42AM -0000, Paul Keogh wrote:

> I've been doing some memory leak checking on an OpenSSL app and discovered
> that a memory leak occurs in SSL_CTX_new(). Stack trace is below.
> The SSL_get_ex_data_X509_STORE_CTX_idx() function is used to check for an
> error but internally allocates resources which SSL_CTX_free() does not
> free up.

True, this however is not a true memory leak because the reference to
the memory blocks is kept in a global variable.  This is memory
used for assigning at run-time an index value used for certain
internal structures.


-- 
Bodo M�ller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to