changeset 12870:a9cd674078b1

[gaim-migrate @ 15222] I believe this stops a small leak with plugin prefs. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 14 Jan 2006 06:28:58 +0000
parents 45c7f6510baa
children 2422097a7a5e
files src/gtkplugin.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkplugin.c	Sat Jan 14 00:32:31 2006 +0000
+++ b/src/gtkplugin.c	Sat Jan 14 06:28:58 2006 +0000
@@ -73,6 +73,8 @@
 		frame = plugin->info->prefs_info->get_plugin_pref_frame(plugin);
 
 		config = gaim_gtk_plugin_pref_create_frame(frame);
+
+		gaim_plugin_pref_frame_destroy(frame);
 	}
 
 	return config;