diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-10-29 22:00:54 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-10-29 22:00:54 +0000 |
commit | 33d0f874679beb5bcc1521bab63c5dab7e946f4a (patch) | |
tree | 77103198bc5dad5c72d043d74e8b8ddbb1d70311 /packet-snmp.c | |
parent | a602ecdebb51aa8f376a96f09c8496eec7f563d6 (diff) |
Actually, one of those *isn't* a leak; don't free something we haven't
allocated yet.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8815 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-snmp.c')
-rw-r--r-- | packet-snmp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-snmp.c b/packet-snmp.c index 76d084cc88..4255055d99 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.117 2003/10/29 21:54:45 guy Exp $ + * $Id: packet-snmp.c,v 1.118 2003/10/29 22:00:54 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1147,7 +1147,6 @@ dissect_common_pdu(tvbuff_t *tvb, int offset, packet_info *pinfo, if (agent_address_length != 4) { dissect_snmp_parse_error(tvb, offset, pinfo, tree, "agent_address", ASN1_ERR_WRONG_LENGTH_FOR_TYPE); - g_free(agent_address); return; } ret = asn1_string_value_decode (&asn1, |