cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: memory leak? help needed

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 12 Oct 2006 16:22:47 +0200 (CEST)

On Thu, 12 Oct 2006, Tom Jerry wrote:

> Yes, Yes, Yes !!! Thank you so much. Indeed, I had a bug that in some cases
> I was adding a easy handle which was not removed. Don't get me wrong, it's
> still my mistake, but shouldn't the library return an error if I try to add
> the same easy handle twice to the multi? After all, this misuse of the API
> did caused a memory leak...

Yes it should, and I have a comment in the current code (CVS version) that
says so but I haven't yet gotten around to doing it...

I guess I should take this as a gentle push into actually doing it! ;-)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-10-12