On Mon, Nov 22, 2004, Jason Davis wrote:

> 
> I am getting a large number of memory leaks,
> 
>  
[snip]
> 
> 
> This causes a large memory leak an since this occuors frequently This is a
> big problem. I seam to have freed averything, what Have I missed
> 
>  

Check the FAQ for some hints.

> 
>  
> 
> Secondly while setting up a SSL_CTX I load in a certificate and context:
> 
>  
> 
> 
>   sk_X509_free(pstackX509);
> 

That's one problem: you should call sk_X509_pop_free(pstackX509, X509_free)
instead.

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]

Reply via email to