dfilter: Fix memory leak in load_references()

The 'finfos' pointer array is a temporary data structure that must
be freed at the end.
This commit is contained in:
João Valverde 2023-04-18 17:36:50 +01:00
parent a9fc552161
commit ba59ed9ae8
1 changed files with 1 additions and 0 deletions

View File

@ -728,6 +728,7 @@ load_references(GHashTable *table, proto_tree *tree, gboolean raw)
g_ptr_array_add(refs, reference_new(finfo, raw));
}
g_ptr_array_free(finfos, TRUE);
hfinfo = hfinfo->same_name_next;
}