cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Memory Leak in Curl 7.9.8

From: <Priya.Ramakrishnan_at_WellsFargo.COM>
Date: Tue, 13 Aug 2002 13:12:50 -0700

Hi Daniel

I was thinking of that solution and have suggested it to my friend. Will
keep you posted with the progress. Thank you

Thank You
Priya Ramakrishnan

Ph:415 396 8985

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Tuesday, August 13, 2002 1:11 PM
To: Priya.Ramakrishnan_at_WellsFargo.COM
Cc: libcurl Mailing list
Subject: Re: Memory Leak in Curl 7.9.8

On Tue, 13 Aug 2002 Priya.Ramakrishnan_at_WellsFargo.COM wrote:

> Another team here has found out a memory leak in Curl 7.9.8 with regards
to
> the MultiMedia DLL. Can you tell us what the solution is for this leak.

I'm not sure this really is a leak.

> [W] Summary of all memory leaks... {32 bytes, 1 block}
> [W] MLK: Memory leak of 32 bytes from 1 block allocated in OpenDriver
> [WINMM.dll]

This "leak" is only in the windows version and since we only use one single
call in the winmm dll, we can be pretty sure that it is that single one that
causes this! ;-)

        timeval.c:61 => timeGetTime();

I tried to google around for some answers on this "leak" but I couldn't find
anything indicating that this could cause a leak like this.

You can of course try to re-compile lib/timeval.c with WITHOUT_MM_LIB
defined, as then it'll use the former version of the gettimeofday()
replacement function instead.

-- 
 Daniel Stenberg -- curl related mails on curl related mailing lists please
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Received on 2002-08-13