epan: Don't free epan-scoped memory.

e6a8318f18 allocated our element list map key in epan scope. Don't try
to free it.
This commit is contained in:
Gerald Combs 2022-05-31 10:31:22 -07:00
parent 66b73ddd11
commit 429c7a6ce3
1 changed files with 0 additions and 1 deletions

View File

@ -824,7 +824,6 @@ conversation_t *conversation_new_full(const guint32 setup_frame, conversation_el
conversation_match_element_list);
wmem_map_insert(conversation_hashtable_element_list, wmem_strdup(wmem_file_scope(), el_list_map_key), el_list_map);
}
g_free(el_list_map_key);
size_t element_count = conversation_element_count(elements);
conversation_element_t *conv_key = wmem_memdup(wmem_file_scope(), elements, sizeof(conversation_element_t) * element_count);