summaryrefslogtreecommitdiff
path: root/pidgin/gtkplugin.c
diff options
context:
space:
mode:
authorDaniel Atallah <datallah@pidgin.im>2008-06-19 03:39:32 +0000
committerDaniel Atallah <datallah@pidgin.im>2008-06-19 03:39:32 +0000
commit3da2b55de948157679d319ad6b8e9f805b1f661b (patch)
treecd2537bc5fa8f1d3f89ba2bcc9e7c0ea9b5051ab /pidgin/gtkplugin.c
parent72d06316c6545e4332f7e20d0923bec233f653ef (diff)
downloadpidgin-3da2b55de948157679d319ad6b8e9f805b1f661b.tar.gz
applied changes from 97a20dd56598fa5c690eabcbc8ec3ff6e560aefd
through 69abb190985a5392d3b2e3296db80accf46bf74b
Diffstat (limited to 'pidgin/gtkplugin.c')
-rw-r--r--pidgin/gtkplugin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c
index a4ecef8c8c..fe2d3e9bde 100644
--- a/pidgin/gtkplugin.c
+++ b/pidgin/gtkplugin.c
@@ -421,6 +421,8 @@ static void prefs_plugin_sel (GtkTreeSelection *sel, GtkTreeModel *model)
"<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);
}