summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-07-22 03:01:08 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-07-22 03:01:08 +0000
commit816acf018f95495d5a9a4041ea61f3e5c1d79f9f (patch)
treec28d570b5a0072bfa8243f66be9c5c925df9c50c /gtk
parent41045df10dec7dfa964caa527e0f6fde0233dd49 (diff)
downloadgdk-pixbuf-816acf018f95495d5a9a4041ea61f3e5c1d79f9f.tar.gz
Don't leak the list store. (#148135, Crispin Flowerday)
Wed Jul 21 22:54:33 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): Don't leak the list store. (#148135, Crispin Flowerday)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkcomboboxentry.c2
1 files changed, 1 insertions, 1 deletions
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;
}