# HG changeset patch # User Christian Hammond # Date 1091869640 0 # Node ID f568b6655331a09370cd06a762ca895b264e948e # Parent a57fa78e575239827eb287dde42fdc023a42ba61 [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 diff -r a57fa78e5752 -r f568b6655331 src/plugin.c --- 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); }