cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] fix curl/nss memory leaks while using client certificate

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sat, 25 Apr 2009 00:44:29 +0200

On Friday 24 of April 2009 23:57:26 Daniel Stenberg wrote:
> On Fri, 24 Apr 2009, Kamil Dudka wrote:
> > a patch catching yet another curl/nss memory leaks is attached.
>
> Thanks, applied.
>
> Was this the last one for now, or are there more leaks still happening?

Some memory leaks still survive there. As time permits I will keep on trying
to zero in this.

I forgot to mention a simple method which can help testing this patch. If curl
is invoked with NSS_DEBUG_PKCS11_MODULE environment variable set to "PEM", it
shows module's usage statistics. It is easy to check whether pem_Finalize
function is called or not.

Kamil
Received on 2009-04-25