# HG changeset patch # User Elliott Sales de Andrade # Date 1329969951 0 # Node ID c6d0ca15925e7499946f6a8dd3a1e0eac5d80af5 # Parent 017908d135264d3ed2392bc0b12c1d200ef131e1 Fix a leak in the Plugin Information window. These variables are set in the loop and should be freed there as well. diff -r 017908d13526 -r c6d0ca15925e pidgin/gtkdialogs.c --- a/pidgin/gtkdialogs.c Mon Feb 20 23:52:41 2012 +0000 +++ b/pidgin/gtkdialogs.c Thu Feb 23 04:05:51 2012 +0000 @@ -824,14 +824,15 @@ pver, pwebsite, pid, punloadable ? "No" : "Yes", ploaded ? "Yes" : "No"); + + g_free(pname); + g_free(pauthor); } plugins_info = pidgin_build_help_dialog(title, "plugins_info", str); g_signal_connect(G_OBJECT(plugins_info), "destroy", G_CALLBACK(gtk_widget_destroyed), &plugins_info); g_free(title); - g_free(pname); - g_free(pauthor); } static void