forked from AuroraMiddleware/gtk
Merge branch 'wip/sadiq/fix-leak' into 'master'
singleselection: Fix a memory leak See merge request GNOME/gtk!1554
This commit is contained in:
commit
c155ac98c8
@ -240,8 +240,11 @@ gtk_single_selection_items_changed_cb (GListModel *model,
|
||||
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SELECTED]);
|
||||
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SELECTED_ITEM]);
|
||||
}
|
||||
|
||||
g_object_unref (item);
|
||||
break;
|
||||
}
|
||||
g_object_unref (item);
|
||||
}
|
||||
if (i == added)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user