aboutsummaryrefslogtreecommitdiffstats
path: root/packet-snmp.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-29 22:04:57 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-29 22:04:57 +0000
commite68329d382196ac1da95eab9dd2b5469cd93a430 (patch)
tree92330271cfc76a9170fe7fe42a7bf8fab4f107c3 /packet-snmp.c
parentf76e9258a5f1f22c581a85558cd48025d28c00bc (diff)
...and there's one leak we missed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8817 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-snmp.c')
-rw-r--r--packet-snmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-snmp.c b/packet-snmp.c
index 0c237f566c..16205708d6 100644
--- a/packet-snmp.c
+++ b/packet-snmp.c
@@ -10,7 +10,7 @@
*
* See RFCs 2570-2576 for SNMPv3
*
- * $Id: packet-snmp.c,v 1.119 2003/10/29 22:02:11 guy Exp $
+ * $Id: packet-snmp.c,v 1.120 2003/10/29 22:04:57 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1323,6 +1323,7 @@ dissect_common_pdu(tvbuff_t *tvb, int offset, packet_info *pinfo,
g_free(variable_oid);
return;
}
+ g_free(variable_oid);
offset += length;
variable_bindings_length -= length;
}