Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore
Modified Files:
ecore_plugin.c
Log Message:
destroy loaded_plugins if it is empty, then set it to NULL
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_plugin.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ecore_plugin.c 3 Feb 2007 17:59:05 -0000 1.10
+++ ecore_plugin.c 8 Mar 2007 00:20:06 -0000 1.11
@@ -83,6 +83,12 @@
if (ecore_list_goto(loaded_plugins, plugin))
ecore_list_remove(loaded_plugins);
+ if (ecore_list_is_empty(loaded_plugins))
+ {
+ ecore_list_destroy(loaded_plugins);
+ loaded_plugins = NULL;
+ }
+
dlclose(plugin->handle);
FREE(plugin->name);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs