cURL / Mailing Lists / curl-library / Single Mail

curl-library

valgrind found a leak

From: Giuseppe Attardi <attardi_at_di.unipi.it>
Date: Thu, 2 Oct 2003 15:37:35 +0200

valgrind found what looks like a memory leak in libcurl:

==29295== 660 bytes in 15 blocks are definitely lost in loss record 51 of 68
==29295== at 0x40027894: malloc (vg_replace_malloc.c:153)
==29295== by 0x812F751: curl_multi_add_handle (multi.c:157)

Indeed it seems that neither curl_multi_cleanup nor curl_multi_remove_handle
free the struct Curl_one_easy that contain the easy_handle's.

-- Beppe

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-02