aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-xml.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2005-10-07 17:59:13 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2005-10-07 17:59:13 +0000
commitf35f5e317e8257a131a2249ea2a5574e09cba0f2 (patch)
tree55d237e67a055243a78c865ca8dcc61f5b3814f0 /epan/dissectors/packet-xml.c
parent770aa5678b16a190bee09e27b01073fa11e42bb8 (diff)
do not free the element name, as its been passed to the hf array.
svn path=/trunk/; revision=16154
Diffstat (limited to 'epan/dissectors/packet-xml.c')
-rw-r--r--epan/dissectors/packet-xml.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-xml.c b/epan/dissectors/packet-xml.c
index d5f186a61a..35fb1ae944 100644
--- a/epan/dissectors/packet-xml.c
+++ b/epan/dissectors/packet-xml.c
@@ -992,8 +992,6 @@ next_attribute:
g_ptr_array_free(new->element_names,TRUE);
g_hash_table_insert(root_element->elements,new->name,new);
-
- g_free(curr_name);
}
}