mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix incorrect deallocation type
Objects created with dom_tree_to_guid must be destroyed with guid_free.
This commit is contained in:
parent
83b49c34fe
commit
deee65d0d4
@ -375,7 +375,7 @@ account_parent_handler (xmlNodePtr node, gpointer act_pdata)
|
|||||||
parent = xaccAccountLookup (gid, pdata->book);
|
parent = xaccAccountLookup (gid, pdata->book);
|
||||||
if (!parent)
|
if (!parent)
|
||||||
{
|
{
|
||||||
g_free (gid);
|
guid_free (gid);
|
||||||
g_return_val_if_fail (parent, FALSE);
|
g_return_val_if_fail (parent, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user