From: Ruben Kerkhof Date: Sat, 4 Jul 2015 20:49:49 +0000 (+0200) Subject: varnish: fix leak on read X-Git-Tag: collectd-5.5.1~83 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0eebd2655842fbb634f67afd44fa4fdcf4e6f189;p=collectd.git varnish: fix leak on read Since VSM_Close doesn't free the object we leak a few bytes every interval --- diff --git a/src/varnish.c b/src/varnish.c index b9622610..a27f9cf6 100644 --- a/src/varnish.c +++ b/src/varnish.c @@ -643,7 +643,7 @@ static int varnish_read (user_data_t *ud) /* {{{ */ varnish_monitor (conf, stats); - VSM_Close (vd); + VSM_Delete (vd); return (0); } /* }}} */