[collectd] collectd / unixsock memory leak: bug + patch

Florian Forster octo at verplant.org
Tue Dec 1 09:13:52 CET 2009


Hi Ben,

On Mon, Nov 30, 2009 at 11:58:10AM +1100, Ben Knight wrote:
> We've run into a memory leak in collectd, triggered by usage of
> 'listval' via the unixsock plugin.

oh, thanks for the pointer and the patch :) I've applied  the patch to
the "collectd-4.7" branch so this problem will be fixed in the next
patch releases.

> Index: src/utils_cmd_listval.c
> ===================================================================
> --- src/utils_cmd_listval.c	(revision 7092)
> +++ src/utils_cmd_listval.c	(working copy)

Just out of curiosity: Are you importing the collectd history into SVN?
It's just that I haven't seen anyone doing it this way around yet (i.e.
importing a Git repository into SVN ;)

Best 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/20091201/a5dc568c/attachment.pgp 


More information about the collectd mailing list