summaryrefslogtreecommitdiff
path: root/gtk/gtksingleselection.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtksingleselection.c')
-rw-r--r--gtk/gtksingleselection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtksingleselection.c b/gtk/gtksingleselection.c
index f2d0d47f1c..63db37d0de 100644
--- a/gtk/gtksingleselection.c
+++ b/gtk/gtksingleselection.c
@@ -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)
{