In GetItems, unref objects in two passes
authorMike Gorse <mgorse@novell.com>
Sat, 26 Nov 2011 21:50:55 +0000 (15:50 -0600)
committerMike Gorse <mgorse@novell.com>
Sat, 26 Nov 2011 21:50:55 +0000 (15:50 -0600)
It is dangerous to unref cache objects inside a g_hash_table_foreach,
since, if the object is finalized, it will be removed, which can cause
problems with the iterator. Instead, make a GSList of the objects to
unref, then use this GSList to unref.


No differences found