pidgin: 69abb190: Unleak

nosnilmot at pidgin.im nosnilmot at pidgin.im
Fri May 23 09:45:38 EDT 2008


-----------------------------------------------------------------
Revision: 69abb190985a5392d3b2e3296db80accf46bf74b
Ancestor: 97a20dd56598fa5c690eabcbc8ec3ff6e560aefd
Author: nosnilmot at pidgin.im
Date: 2008-05-23T13:38:40
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/69abb190985a5392d3b2e3296db80accf46bf74b

Modified files:
        pidgin/gtkplugin.c

ChangeLog: 

Unleak

-------------- next part --------------
============================================================
--- pidgin/gtkplugin.c	6540b8f60da9524b968506364c8ad459f9edc577
+++ pidgin/gtkplugin.c	a3793dab0ac2994ca67261de71b0dfbcebd390e9
@@ -421,6 +421,8 @@ static void prefs_plugin_sel (GtkTreeSel
 		"<span size=\"smaller\">%s</span>",
 		name, version);
 	gtk_label_set_markup(plugin_name, buf);
+	g_free(name);
+	g_free(version);
 	g_free(buf);
 
 	gtk_text_buffer_set_text(plugin_desc, purple_plugin_get_description(plug), -1);
@@ -694,6 +696,8 @@ create_details()
 	gtk_label_set_markup(GTK_LABEL(label), _("<b>Filename:</b>"));
 	gtk_misc_set_alignment(GTK_MISC(label), 0, 0);
 
+	g_object_unref(sg);
+
 	return GTK_WIDGET(vbox);
 }
 


More information about the Commits mailing list