From 0eebd2655842fbb634f67afd44fa4fdcf4e6f189 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 4 Jul 2015 22:49:49 +0200 Subject: [PATCH] varnish: fix leak on read Since VSM_Close doesn't free the object we leak a few bytes every interval --- src/varnish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /* }}} */ -- 2.30.2