On Fri, 10 May 2013, Raheman Vaiya wrote:

I think there is a memory leak in the curl code. Running valgrind on the following code (first link) yields the output in the second link. Since this is my first time attempting debugging "real" code I may have made some trivial mistake, if this is the case please let me know, I would greatly appreciate it.

I regularly run the entire curl test suite with valgrind enabled and I don't get this error. Can you re-run it with a libcurl build with the debug symbols still present?

source: http://pastie.org/pastes/7827550/text

Your code has off-by-one errors. See getinmemory.c for a test example that seems to do what you're trying to do.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
  • [no subject] Raheman Vaiya
    • Re: David Strauss
    • Re: your mail Daniel Stenberg

Reply via email to