summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 432d703)
raw | patch | inline | side by side (parent: 432d703)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 19 Nov 2014 16:54:09 +0000 (17:54 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 19 Nov 2014 16:54:09 +0000 (17:54 +0100) |
src/snmp.c | patch | blob | history |
diff --git a/src/snmp.c b/src/snmp.c
index dacdedea5bdd060ded6d5d6e893f44f88996314a..8ab2bf8e4e6e46652088312385b4a216cf78d4d2 100644 (file)
--- a/src/snmp.c
+++ b/src/snmp.c
@@ -1377,6 +1377,8 @@ static int csnmp_read_table (host_definition_t *host, data_definition_t *data)
snmp_free_pdu (res);
res = NULL;
+ /* snmp_synch_response already freed our PDU */
+ req = NULL;
sfree (errstr);
csnmp_host_close_session (host);