Many thanks for your work here, I hate memory leaks :(.  I liberated this bit 
of code from the rrd_info_r function; I can't check from here but I suspect the 
same leak is there, though I didn't spot it - but it wouldn't affect things 
there as its not called from the daemon.  I've been trying to make valgrind 
work for me yesterday without success...

I'll implement this immediately and see if I get the same issues recurring (in 
which case theres yet another one to find in there somethere...)

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487


________________________________________
From: rrd-developers-bounces+steve=steveshipway....@lists.oetiker.ch 
[rrd-developers-bounces+steve=steveshipway....@lists.oetiker.ch] on behalf of 
kevin brintnall [kbr...@rufus.net]
Sent: Saturday, 23 October 2010 1:34 a.m.
To: rrd-developers@lists.oetiker.ch
Subject: Re: [rrd-developers] rrdcached use corrupting RRD files (trunk)

Steve,

I think this fixes the memory leak in "INFO".  Could you please test and
let me know.  I cleaned up the loop a little too.

-kb

-
_______________________________________________
rrd-developers mailing list
rrd-developers@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to