summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e012092)
raw | patch | inline | side by side (parent: e012092)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 27 Nov 2015 21:14:08 +0000 (22:14 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 28 Nov 2015 06:49:08 +0000 (07:49 +0100) |
Partial back port of #1368.
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
src/snmp.c | patch | blob | history |
diff --git a/src/snmp.c b/src/snmp.c
index acbdca0b66e6e404008d2a598c97183565659e27..6ecdfafb327a4bf36604cedaa8aa155ef023602b 100644 (file)
--- a/src/snmp.c
+++ b/src/snmp.c
@@ -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);