mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Merge Simon Arlott's 'qof-instance-dispose' into maint.
This commit is contained in:
@@ -319,9 +319,8 @@ qof_instance_dispose (GObject *instp)
|
||||
QofInstance* inst = QOF_INSTANCE(instp);
|
||||
|
||||
priv = GET_PRIVATE(instp);
|
||||
if (!priv->collection)
|
||||
return;
|
||||
qof_collection_remove_entity(inst);
|
||||
if (priv->collection)
|
||||
qof_collection_remove_entity(inst);
|
||||
|
||||
CACHE_REMOVE(inst->e_type);
|
||||
inst->e_type = NULL;
|
||||
|
||||
Reference in New Issue
Block a user