From 816acf018f95495d5a9a4041ea61f3e5c1d79f9f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 22 Jul 2004 03:01:08 +0000 Subject: Don't leak the list store. (#148135, Crispin Flowerday) Wed Jul 21 22:54:33 2004 Matthias Clasen * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): Don't leak the list store. (#148135, Crispin Flowerday) --- gtk/gtkcomboboxentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/gtkcomboboxentry.c b/gtk/gtkcomboboxentry.c index 72f2e7d94..c1e43325b 100644 --- a/gtk/gtkcomboboxentry.c +++ b/gtk/gtkcomboboxentry.c @@ -363,8 +363,8 @@ gtk_combo_box_entry_new_text (void) GtkListStore *store; store = gtk_list_store_new (1, G_TYPE_STRING); - entry_box = gtk_combo_box_entry_new_with_model (GTK_TREE_MODEL (store), 0); + g_object_unref (store); return entry_box; } -- cgit v1.2.1