Fix incorrect deallocation type

Objects created with dom_tree_to_guid must be destroyed with guid_free.
This commit is contained in:
peter15914 2025-01-05 23:12:25 +05:00
parent 83b49c34fe
commit deee65d0d4

View File

@ -375,7 +375,7 @@ account_parent_handler (xmlNodePtr node, gpointer act_pdata)
parent = xaccAccountLookup (gid, pdata->book);
if (!parent)
{
g_free (gid);
guid_free (gid);
g_return_val_if_fail (parent, FALSE);
}