cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl memleak

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Oct 2002 22:59:40 +0100 (MET)

On Mon, 28 Oct 2002, Avery Fay wrote:

> I reran my program single threaded and the analysis looks much more sane
> although it's still huge. Here's a snippet from the beginning (all looks
> that same):
>
> Leak detected: memory still allocated: 845600 bytes
> At 80f0074, there's 160 bytes.
> allocated by hostip.c:534
> At 806d514, there's 160 bytes.
> allocated by hostip.c:534
> At 8115cc4, there's 160 bytes.
> allocated by hostip.c:534

Hm. This certainly indicates that we might have a problem with the memory
allocated on line 534 in hostip.c.

Have you set any particular options regarding the DNS cache? Or even, can you
make a tiny program that repeats this problem and show us the code?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-28