g_menu_model_get_item_link: be careful with refs
authorRyan Lortie <desrt@desrt.ca>
Mon, 28 Nov 2011 16:44:25 +0000 (11:44 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 8 Dec 2011 23:05:13 +0000 (18:05 -0500)
commit2c4ded15e53d2c0e46aeaab2bea50320d86b4f37
tree5adf5f4830a269970c09d0b7b731f3ccf7838527
parent1bb0a89de65e93dc055cb6147318d3760a535a8d
g_menu_model_get_item_link: be careful with refs

Don't unref the hashtable until after we already take the ref on the
value that was contained in the hashtable, otherwise we may kill the
value.
gio/gmenumodel.c