forked from enlightenment/efl
ethumb: do not free module list if it was not discovered
this will now happen when using ethumb_client, that doesn't need to search for any plugins localy! :-) SVN revision: 82682
This commit is contained in:
parent
a4e4c3041e
commit
a7ad336a6a
|
@ -212,9 +212,12 @@ _ethumb_plugins_load(void)
|
||||||
static void
|
static void
|
||||||
_ethumb_plugins_unload(void)
|
_ethumb_plugins_unload(void)
|
||||||
{
|
{
|
||||||
eina_module_list_free(_plugins);
|
if (_plugins)
|
||||||
eina_array_free(_plugins);
|
{
|
||||||
_plugins = NULL;
|
eina_module_list_free(_plugins);
|
||||||
|
eina_array_free(_plugins);
|
||||||
|
_plugins = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
eina_hash_free(_plugins_ext);
|
eina_hash_free(_plugins_ext);
|
||||||
_plugins_ext = NULL;
|
_plugins_ext = NULL;
|
||||||
|
|
Loading…
Reference in New Issue