projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let snmp_synch_response deal with PDU freeing
[collectd.git]
/
src
/
snmp.c
diff --git
a/src/snmp.c
b/src/snmp.c
index
ad81c89
..
b90e0ff
100644
(file)
--- a/
src/snmp.c
+++ b/
src/snmp.c
@@
-1437,6
+1437,11
@@
static int csnmp_read_table (host_definition_t *host, data_definition_t *data)
snmp_free_pdu (res);
res = NULL;
+ /*
+ * memory is handled by snmp_synch_response
+ */
+ req = NULL;
+
if (status == 0)
csnmp_dispatch_table (host, data, instance_list_head, value_list_head);