Skip to content

Commit

Permalink
Merge Sherlock's fix for Bug 799281 into stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Apr 12, 2024
2 parents 0796a0e + f0d45de commit 01bffa4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libgnucash/engine/qofid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ qof_collection_lookup_entity (const QofCollection *col, const GncGUID * guid)
if (guid == NULL) return NULL;
ent = static_cast<QofInstance*>(g_hash_table_lookup (col->hash_of_entities,
guid));
if (ent != NULL && qof_instance_get_destroying(ent)) return NULL;
return ent;
}

Expand Down

0 comments on commit 01bffa4

Please sign in to comment.