cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_RESOVE memory leak with multi-handle is not fixed completely

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Dec 2012 20:04:20 +0100 (CET)

On Mon, 17 Dec 2012, Bin Wang wrote:

> I think the memory leak mentioned in
> http://sourceforge.net/p/curl/bugs/1150/ is still not fixed completely. If
> all the easy handles are removed from the multi handle, then when multi
> handle is cleaned up, the DNS cache entries populated from CURLOPT_RESOLVE
> are not cleared.

Then please provide a recipe (that still makes the latest release show a
leak). I fixed the leak I could repeat and even added a test case that
verifies it! (1502)

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-12-17