do not free the element name, as its been passed to the hf array.
authorlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 Oct 2005 17:59:13 +0000 (17:59 +0000)
committerlego <lego@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 Oct 2005 17:59:13 +0000 (17:59 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16154 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-xml.c

index d5f186a61a0e4b45880e0bfca6d95f35f12b77df..35fb1ae944d3ef26e26e69ac3fc70e5909629c68 100644 (file)
@@ -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);
         }
     }