projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f9a3c
)
varnish: fix leak on read
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 4 Jul 2015 20:49:49 +0000
(22:49 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Thu, 14 Jan 2016 10:05:02 +0000
(11:05 +0100)
Since VSM_Close doesn't free the object we leak a few bytes
every interval
src/varnish.c
patch
|
blob
|
history
diff --git
a/src/varnish.c
b/src/varnish.c
index
bf24845
..
c0460ab
100644
(file)
--- a/
src/varnish.c
+++ b/
src/varnish.c
@@
-505,7
+505,7
@@
static int varnish_read (user_data_t *ud) /* {{{ */
stats = VSC_Main(vd);
varnish_monitor (conf, stats);
- VSM_
Clos
e (vd);
+ VSM_
Delet
e (vd);
return (0);
} /* }}} */