cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memory leak need help!

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 23 Feb 2003 21:07:25 +0100 (CET)

On Sun, 23 Feb 2003, Oakes King wrote:

> I'm using curl-lib but got memory leaks like follows.
>
> {9366} normal block at 0x004BEA60, 10 bytes long.
> Data: <text/html > 74 65 78 74 2F 68 74 6D 6C 00
> {9189} normal block at 0x004BBEC0, 10 bytes long.
> Data: <text/html > 74 65 78 74 2F 68 74 6D 6C 00

This looks like the content-type leak Bertrand Demiddelaer fixed, which is
available from this URL:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/curl/curl/lib/transfer.c.diff?r1=1.136&r2=1.137

If not, then I recommend you to read and follow the advice summed up here:
http://curl.haxx.se/lxr/source/lib/README.memoryleak

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
Received on 2003-02-23