Fix a problem copying a guid from an object to a local variable.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16040 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2007-05-03 02:56:15 +00:00
parent 285a5216b3
commit 62dce55fb8

View File

@ -451,8 +451,7 @@ qof_book_merge_foreach ( QofInstance* mergeEnt, gpointer user_data)
g_return_if_fail(mergeEnt != NULL);
currentRule = mergeData->currentRule;
g_return_if_fail(currentRule != NULL);
g = guid_malloc();
qof_instance_copy_guid(g, mergeEnt);
g = guid_copy(qof_instance_get_guid(mergeEnt));
mergeRule = g_new(QofBookMergeRule,1);
mergeRule->importEnt = mergeEnt;
mergeRule->difference = difference = 0;