aboutsummaryrefslogtreecommitdiffstats
path: root/proto.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-08-07 01:34:29 +0000
committerGuy Harris <guy@alum.mit.edu>1999-08-07 01:34:29 +0000
commit89ff148fd2fc928a8ab7caafb0dd3ba4b0580963 (patch)
treef43f7aabc9e56af1a40512d398b27219dd43ae17 /proto.c
parenta7061b9abddc1d94e8c62243a235aa5ac40fa71d (diff)
A further memory leak fix from Jochen Friedrich.
svn path=/trunk/; revision=452
Diffstat (limited to 'proto.c')
-rw-r--r--proto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto.c b/proto.c
index 44cbd6f0d8..ce4690b14f 100644
--- a/proto.c
+++ b/proto.c
@@ -1,7 +1,7 @@
/* proto.c
* Routines for protocol tree
*
- * $Id: proto.c,v 1.11 1999/08/04 23:43:42 guy Exp $
+ * $Id: proto.c,v 1.12 1999/08/07 01:34:29 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -250,6 +250,7 @@ proto_tree_free(proto_tree *tree)
{
g_node_traverse((GNode*)tree, G_IN_ORDER, G_TRAVERSE_ALL, -1,
proto_tree_free_node, NULL);
+ g_node_destroy((GNode*)tree);
}
static gboolean