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:
parent
a9fc552161
commit
ba59ed9ae8
1 changed files with 1 additions and 0 deletions
|
@ -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_add(refs, reference_new(finfo, raw));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_ptr_array_free(finfos, TRUE);
|
||||||
hfinfo = hfinfo->same_name_next;
|
hfinfo = hfinfo->same_name_next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue