Subject: Re: Memory leak...

Re: Memory leak...

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 30 Sep 2007 16:47:52 +0200 (CEST)

On Sat, 29 Sep 2007, Steinar H. Gunderson wrote:

>> ** MEMORY FAILURE
>> Leak detected: memory still allocated: 55 bytes
>> At 80f9534, there's 27 bytes.
>> allocated by ares_gethostbyname.c:100
>> At 80f9504, there's 28 bytes.
>> allocated by ares_gethostbyname.c:93
>
> These are probably tricky. I know that the new circular list stuff tends to
> confuse some heap checkers, but it's probably a real bug. I'll look into it.

I know you comitted fixes alredy, I just thought I should mention this:

The (primary) memory check in the curl test suite, that also covers c-ares
when used, isn't heap-based but it simply logs all memory-related operations
and the leak check is done afterwards...

-- 
   c-ares -- my preferred DNS asynch resolver library
Received on 2007-09-30