memory leak in res_nsend()

Antony Dovgal tony2001@phpclub.net
Mon Oct 24 18:22:00 GMT 2005


On 24.10.2005 22:08, Daniel Jacobowitz wrote:
> On Mon, Oct 24, 2005 at 10:04:04PM +0400, Antony Dovgal wrote:
>> __libc_thread_freeres(void) frees global _res, while I need to free 
>> resources associated with my local __res_state struct.
>> I honestly do not understand how can valgrind help me with that calling 
>> __libc_thread_freeres().
> 
> By calling it in the context of any thread that hasn't exited, to free
> that thread's resources?

Ok, stop.
So you want to tell me that the leak is caused by valgrind itself and doesn't exist without it, right ?

-- 
Wbr, 
Antony Dovgal



More information about the Libc-alpha mailing list