changeset 13751:7925c5d81ecf

[gaim-migrate @ 16162] SF Patch #1483688 from Sadrul "This plugs a small leak from the prpl-actions in the buddy-list's Accounts-> menu." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 09 May 2006 01:22:33 +0000
parents 410c965f56e0
children c502ed5ae9f6
files src/gtkblist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Tue May 09 00:24:39 2006 +0000
+++ b/src/gtkblist.c	Tue May 09 01:22:33 2006 +0000
@@ -5648,7 +5648,7 @@
 							gtk_menu_shell_append(GTK_MENU_SHELL(submenu), menuitem);
 							g_signal_connect(G_OBJECT(menuitem), "activate",
 									G_CALLBACK(plugin_act), action);
-							g_object_set_data(G_OBJECT(menuitem), "plugin_action", action);
+							g_object_set_data_full(G_OBJECT(menuitem), "plugin_action", action, gaim_plugin_action_free);
 							gtk_widget_show(menuitem);
 						} else
 							gaim_separator(submenu);