changeset 9697:f568b6655331

[gaim-migrate @ 10556] I'm not sure how this wasn't noticed before, but thanks to hyphenated for pointing it out. We were checking if the load function pointer was valid before calling unload. We should have checked unload. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 07 Aug 2004 09:07:20 +0000
parents a57fa78e5752
children bd5abccacff2
files src/plugin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugin.c	Sat Aug 07 03:22:47 2004 +0000
+++ b/src/plugin.c	Sat Aug 07 09:07:20 2004 +0000
@@ -426,7 +426,7 @@
 
 		loader_info = GAIM_PLUGIN_LOADER_INFO(loader);
 
-		if (loader_info->load != NULL)
+		if (loader_info->unload != NULL)
 			loader_info->unload(plugin);
 	}