diff src/plugin.c @ 10145:4d484e455839

[gaim-migrate @ 11218] This fixes the crash / hang / strangeness when dragging a buddy to a conversation entry thing. Also fixes a minor memory leak with old plugins. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 26 Oct 2004 01:00:35 +0000
parents b4efa002dad8
children 0dbeb6d1e258
line wrap: on
line diff
--- a/src/plugin.c	Mon Oct 25 23:45:26 2004 +0000
+++ b/src/plugin.c	Tue Oct 26 01:00:35 2004 +0000
@@ -493,6 +493,8 @@
 			plugin->info->major_version != GAIM_MAJOR_VERSION) {
 		if(plugin->handle)
 			g_module_close(plugin->handle);
+		if(plugin->path != NULL)
+			g_free(plugin->path);
 		g_free(plugin);
 		return;
 	}