cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] Memory leak in multi.c

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 May 2006 13:34:21 +0200 (CEST)

On Mon, 8 May 2006, Robson Braga Araujo wrote:

> I think I found a memory leak in libcurl. When it tries to share the multi's
> hostcache with the easy handle, it throws away the easy's hostcache without
> deallocating it first.

Thanks! I applied and committed. I guess this hasn't hurt very many people
since this doesn't leak anything if you haven't actually used the easy handle
to do an easy interface transfer as the hostcache isn't allocated until
curl_easy_perform() is called. Nevertheless a bug of course.

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