Link collectd-tg with pthreads
[collectd.git] / src / snmp.c
index acbdca0..6ecdfaf 100644 (file)
@@ -1551,6 +1551,7 @@ static int csnmp_read_value (host_definition_t *host, data_definition_t *data)
     res = NULL;
 
     sfree (errstr);
+    sfree (vl.values);
     csnmp_host_close_session (host);
 
     return (-1);