pidgin: 706f541e: Leak fix. I think. At least valgrind sto...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Tue Apr 22 12:50:49 EDT 2008


-----------------------------------------------------------------
Revision: 706f541e3c5a550392f0424aa63704da0341ae0c
Ancestor: f963dbb33b497c3a68ba5331374a49b3fffa42bb
Author: nosnilmot at pidgin.im
Date: 2008-04-22T16:47:11
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/706f541e3c5a550392f0424aa63704da0341ae0c

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

Leak fix. I think. At least valgrind stopped crying about it and nothing
seemed to blow up.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	4953c18e47949c952dcbeecc2fa3ef2781b5cb39
+++ pidgin/gtkconv.c	dd6c594947f87186204f853247544eba7911a328
@@ -4647,6 +4647,7 @@ setup_common_pane(PidginConversation *gt
 	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");


More information about the Commits mailing list