aboutsummaryrefslogtreecommitdiffstats
path: root/packet-icmpv6.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-05-28 22:40:19 +0000
committerGuy Harris <guy@alum.mit.edu>2003-05-28 22:40:19 +0000
commit2573a5527a6b793a7fc3acef0f178d38cb6584fb (patch)
tree6eccc3e2a951efabe176daa9d48747f1b4388032 /packet-icmpv6.c
parent28c73939f3602b90f7d5648f719ebd143050ac6b (diff)
From Laurent Rabret: use "g_free()", not "free()", to free stuff
allocated with "g_malloc()" and related GLib routines. svn path=/trunk/; revision=7758
Diffstat (limited to 'packet-icmpv6.c')
-rw-r--r--packet-icmpv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-icmpv6.c b/packet-icmpv6.c
index c21c998744..3f5947dc66 100644
--- a/packet-icmpv6.c
+++ b/packet-icmpv6.c
@@ -1,7 +1,7 @@
/* packet-icmpv6.c
* Routines for ICMPv6 packet disassembly
*
- * $Id: packet-icmpv6.c,v 1.72 2003/04/28 19:24:48 guy Exp $
+ * $Id: packet-icmpv6.c,v 1.73 2003/05/28 22:40:18 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -228,7 +228,7 @@ again:
}
proto_tree_add_text(icmp6opt_tree, tvb,
offset + sizeof(*opt), len, "Link-layer address: %s", t);
- free(t);
+ g_free(t);
break;
}
case ND_OPT_PREFIX_INFORMATION: