Check for null id_type.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6756 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas
2002-03-03 00:02:17 +00:00
parent 2866ec7d13
commit 0cc0516ef5

View File

@@ -267,6 +267,7 @@ gnc_cm_event_handler (GUID *entity,
add_event (&changes, entity, event_type, TRUE);
id_type = xaccGUIDType (entity, gnc_get_current_book ());
g_return_if_fail (id_type);
if (safe_strcmp (id_type, GNC_ID_SPLIT) == 0)
{