On Fri, Apr 15, 2005, Aftab Alam wrote:

> Hi Again,
> I just went through FAQ and found out that if I call EVP_cleanup() then the
> identified leaks go away but now when I call 
> 
> 
[snip]

> 
>       if(pskSignerCertChain)
>               sk_X509_free(pskSignerCertChain);
>       

That is just freeing up the STACK rather than the STACK and its contents. You
need to call sk_X509_pop_free(pskSignerCertChain, X509_free) to do that.

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                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to