cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Help tracking down libcurl + nss memory leak

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 13 Apr 2009 19:45:03 +0200 (CEST)

On Fri, 10 Apr 2009, Kamil Dudka wrote:

>> Attached to this mail is my first take at addressing the leaked "generic
>> objects". This seems to fix the problems I see, but there might of course
>> be more problems lurking. Let me know how it works for you!
>
> An incremental patch is attached. It is also changed to destroy objects
> in reverse order. I am not sure if the initialization of the new variables
> is necessary. We can drop it if it is already initialized by caller.
>
> I am going to apply it on Fedora next week.

Thanks, I applied and committed this just now. For now (at least) I left the
NULL assignments you added there since it makes the code a lot more clear.

-- 
  / daniel.haxx.se
Received on 2009-04-13