From 882e9214f15add31b36664bd3cd2eefcf661abd3 Mon Sep 17 00:00:00 2001 From: Peter Wehrfritz Date: Thu, 5 Mar 2009 20:07:45 +0000 Subject: [PATCH] remove superfluid list SVN revision: 39380 --- legacy/ecore/src/lib/ecore/ecore_plugin.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/legacy/ecore/src/lib/ecore/ecore_plugin.c b/legacy/ecore/src/lib/ecore/ecore_plugin.c index 8b79dc134f..7255dee0a1 100644 --- a/legacy/ecore/src/lib/ecore/ecore_plugin.c +++ b/legacy/ecore/src/lib/ecore/ecore_plugin.c @@ -27,9 +27,6 @@ #include "Ecore_Str.h" #include "ecore_private.h" - -static Eina_List *loaded_plugins = NULL; - static Eina_Bool _hash_keys(const Eina_Hash *hash, const char *key, void *list); @@ -103,12 +100,6 @@ ecore_plugin_load(Ecore_Path_Group *group, const char *plugin_name, const char * plugin->handle = handle; - /* - * Now add it to the list of the groups loaded plugins - */ - - loaded_plugins = eina_list_append(loaded_plugins, plugin); - FREE(path); return plugin; @@ -124,12 +115,8 @@ ecore_plugin_unload(Ecore_Plugin *plugin) { CHECK_PARAM_POINTER("plugin", plugin); - if (!plugin->handle) - return; - - loaded_plugins = eina_list_remove(loaded_plugins, plugin); - - dlclose(plugin->handle); + if (plugin->handle) + dlclose(plugin->handle); FREE(plugin); }