mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[sx-book] free sx_list before g_object_unreffing sxes
This commit is contained in:
parent
2443d8faf7
commit
d1aefc851d
@ -281,6 +281,7 @@ book_sxes_end(QofBook* book)
|
||||
sxes = qof_collection_get_data(col);
|
||||
if (sxes != NULL)
|
||||
{
|
||||
g_list_free (sxes->sx_list);
|
||||
g_object_unref(sxes);
|
||||
qof_collection_set_data(col, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user