cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memory leaks

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sun, 4 Apr 2010 12:46:36 +0200

On Sunday 04 of April 2010 12:14:51 Julian Kranz wrote:
> Hey there,
>
> I am using the libcurl version from Ubuntu 9.10 (7.19.5), so everything
> I talk about may be fixed already.
>
> I'm using the example from
> http://curl.haxx.se/libcurl/c/getinmemory.html . Despite its calls to
> curl_easy_cleanup() and curl_global_cleanup() it still leaks memory:
>
> ==6319== 8 bytes in 1 blocks are still reachable in loss record 1 of 7

"still reachable" != "definitely lost"

Is the amount of leaked memory growing per request?

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-04