Mercurial > pidgin
changeset 5243:f6e0c689a88b
[gaim-migrate @ 5614]
Crashes are bad, m'kay?
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 27 Apr 2003 21:12:33 +0000 |
parents | fd81a00480ac |
children | fd058ddba110 |
files | src/plugin.c |
diffstat | 1 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugin.c Sun Apr 27 20:39:36 2003 +0000 +++ b/src/plugin.c Sun Apr 27 21:12:33 2003 +0000 @@ -387,9 +387,8 @@ plugins = g_list_remove(plugins, plugin); - /* XXX */ - if (plugin->info != NULL && plugin->info->type == GAIM_PLUGIN_PROTOCOL) - return; + if (plugin->info != NULL && plugin->info->dependencies != NULL) + g_list_free(plugin->info->dependencies); if (plugin->native_plugin) { @@ -437,9 +436,6 @@ loader_info->destroy(plugin); } - if (plugin->info != NULL && plugin->info->dependencies != NULL) - g_list_free(plugin->info->dependencies); - if (plugin->path != NULL) g_free(plugin->path); if (plugin->error != NULL) g_free(plugin->error); @@ -497,8 +493,6 @@ { #ifdef GAIM_PLUGINS - gaim_plugins_unload_all(); - while (plugins != NULL) gaim_plugin_destroy(plugins->data);