cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memory Leak in Curl 7.9.8

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Aug 2002 22:11:08 +0200 (MET DST)

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