Code

varnish plugin: Closed VSM
authorJérôme Renard <jerome.renard@gmail.com>
Tue, 20 Dec 2011 14:22:55 +0000 (15:22 +0100)
committerFlorian Forster <octo@collectd.org>
Sun, 11 Mar 2012 14:01:02 +0000 (15:01 +0100)
src/varnish.c

index 37b21acc7c96abb6acb650d53402553877d9f25f..b78f78707c654e0bd39795081f09bae3a08031c6 100644 (file)
@@ -443,6 +443,7 @@ static int varnish_read (user_data_t *ud) /* {{{ */
        VSC_C_main = VSC_Main(vd);
 
        varnish_monitor (conf, VSC_C_main);
+       VSM_Close(vd);
 #endif
 
     return (0);