> 
> To whom it may concern:
> 
> We found that the following code fragment causes 21 memory leaks:
> ------------------------------------------------------------------
> ----------
> ------------------
> #include <openssl/ssl.h>
> SSL_CTX* ctx = SSL_CTX_new(SSLv23_method());
> SSL_CTX_free(ctx);
> ------------------------------------------------------------------
> ----------
> ------------------

        Does this code fragment cause 42 memory leaks?

#include <openssl/ssl.h>
SSL_CTX* ctx = SSL_CTX_new(SSLv23_method());
SSL_CTX_free(ctx);
ctx = SSL_CTX_new(SSLv23_method());
SSL_CTX_free(ctx);

        If not, then the memory hasn't actually leaked, has it?

        DS

        

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

Reply via email to