cURL / Mailing Lists / curl-library / Single Mail

curl-library

memory leaks after calling curl_multi_perform (fwd)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 1 Apr 2004 08:40:51 +0200 (CEST)

I'm forwarding your mail to the libcurl mailing list instead. This list is
more suitable for pure libcurl issues.

You didn't mention what libcurl version or what operating system you used.

Also, it would help a lot if you could provide a sample source code we can run
in our ends that shows this leak happen!

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
---------- Forwarded message ----------
Date: Wed, 31 Mar 2004 19:06:54 -0800 (PST)
From: Hong I Ng <gamer19722002_at_yahoo.com>
To: curl-and-php_at_cool.haxx.se
Subject: memory leaks after calling curl_multi_perform
I've been using cURL (C interface) lately and
discovered this:
Leak: 0x060ad9b0  size=16 string 'text/html;'
  Call stack: [thread 3d8d4b]: | 0x1000 | start |
_start | main | test_customize_search_query |
process_queries | ms | retrieve_next_pages |
retrieve_search_results | curl_multi_perform |
Curl_readwrite | malloc | malloc_zone_mallocLeak:
0x060ad850  size=16 string 'text/html;'
  Call stack: [thread 94a4b74f]: | 0x1000 | start |
_start | main | test_customize_search_query |
process_queries | ms | retrieve_next_pages |
retrieve_search_results | curl_multi_perform |
Curl_readwrite | malloc | malloc_zone_malloc
I've made sure that curl_multi_cleanup() has been
called at the end, and I can't find any other
functions for cleaning up.
May I know whether the problem lies with me or libCURL
please?
Thanks in advance.
HI
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
Received on 2004-04-01