cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: I created a C++ wrapper to libcurl (!= curlpp) and worried about memory leaks

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Feb 2013 12:52:44 +0100 (CET)

On Tue, 12 Feb 2013, Patrick Louis wrote:

> If someone could clear my mind about that or just lead me to a better way to
> do things.

Without your exact code it is hard to tell, but it seems to be an curl_slist
list that you created with curl_slist_append() that's left allocated.

If you build with debug symbols left, valgrind will tell you the exact source
code line that did it.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-12