1 From 0da910fb1bf2bd4982ca6541458c795ec296f398 Mon Sep 17 00:00:00 2001
2 From: Marc Fournier <marc.fournier@camptocamp.com>
3 Date: Fri, 8 Aug 2014 15:55:10 +0200
4 Subject: [PATCH 14/22] snmp: free snmp_pdu struct allocated by
7 This should fix the leak reported in issue #610.
10 1 file changed, 4 insertions(+)
12 diff --git a/src/snmp.c b/src/snmp.c
13 index d440f7f..dacdede 100644
16 @@ -1503,6 +1503,10 @@ static int csnmp_read_table (host_definition_t *host, data_definition_t *data)
21 + snmp_free_pdu (req);
25 csnmp_dispatch_table (host, data, instance_list_head, value_list_head);