[collectd] Memory leaks

Florian Forster octo at verplant.org
Thu Oct 9 08:45:59 CEST 2008


Hi Niraj,

On Wed, Oct 08, 2008 at 01:07:44PM -0700, Niraj Tolia wrote:
> I just wanted to report a couple of (small) memory leaks in 4.5.0. The
> fixes should be trivial but if you need a patch, just let me know.

thanks for the hints :)

> 2) configfile.c, line 875: conf is never freed in cf_read()

I've added an appropriate free - lets hope all plugins make copies of
the data passed to them instead of keeping a pointer around ;)

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20081009/74b8e898/attachment.pgp 


More information about the collectd mailing list