X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsnmp.c;h=3ccf60c3fd8ff638ab90aaa21f8eafcbb5223261;hb=daebbbee0ac53d39a0486aeb8c41fd358f46ed82;hp=8df7edd40a2e173abd3bceb065ecaf0cda4e7d77;hpb=038a4419b73292617931301375da0b5139f8c7be;p=collectd.git diff --git a/src/snmp.c b/src/snmp.c index 8df7edd4..3ccf60c3 100644 --- a/src/snmp.c +++ b/src/snmp.c @@ -1755,6 +1755,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);