diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-08-07 01:34:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-08-07 01:34:29 +0000 |
commit | 89ff148fd2fc928a8ab7caafb0dd3ba4b0580963 (patch) | |
tree | f43f7aabc9e56af1a40512d398b27219dd43ae17 | |
parent | a7061b9abddc1d94e8c62243a235aa5ac40fa71d (diff) | |
download | wireshark-89ff148fd2fc928a8ab7caafb0dd3ba4b0580963.tar.gz wireshark-89ff148fd2fc928a8ab7caafb0dd3ba4b0580963.tar.bz2 wireshark-89ff148fd2fc928a8ab7caafb0dd3ba4b0580963.zip |
A further memory leak fix from Jochen Friedrich.
svn path=/trunk/; revision=452
-rw-r--r-- | proto.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |