changeset 22678:01b5c9ed85e7

Leak fix. I think. At least valgrind stopped crying about it and nothing seemed to blow up.
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 22 Apr 2008 16:47:11 +0000
parents 04dc38d726fb
children 3a41eb457605 47292ff1032c
files pidgin/gtkconv.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Tue Apr 22 16:44:56 2008 +0000
+++ b/pidgin/gtkconv.c	Tue Apr 22 16:47:11 2008 +0000
@@ -4647,6 +4647,7 @@
 	gtkconv->infopane_model = gtk_list_store_new(CONV_NUM_COLUMNS, GDK_TYPE_PIXBUF, G_TYPE_STRING, GDK_TYPE_PIXBUF, GDK_TYPE_PIXBUF);
 	gtk_cell_view_set_model(GTK_CELL_VIEW(gtkconv->infopane), 
 				GTK_TREE_MODEL(gtkconv->infopane_model));
+	g_object_unref(gtkconv->infopane_model);
 	gtk_list_store_append(gtkconv->infopane_model, &(gtkconv->infopane_iter));
 	gtk_box_pack_start(GTK_BOX(gtkconv->infopane_hbox), gtkconv->infopane, TRUE, TRUE, 0);
 	path = gtk_tree_path_new_from_string("0");