forked from enlightenment/efl
Patch from Glen Larsen to fix dlopen failure handling in module loader.
SVN revision: 28213
This commit is contained in:
parent
e6fe28ea56
commit
5bcce9f86b
|
@ -257,7 +257,8 @@ evas_module_load(Evas_Module *em)
|
||||||
|
|
||||||
err = dlerror();
|
err = dlerror();
|
||||||
printf("[evas module] error loading the module %s. %s\n", buf, err);
|
printf("[evas module] error loading the module %s. %s\n", buf, err);
|
||||||
dlclose(handle);
|
if (handle)
|
||||||
|
dlclose(handle);
|
||||||
em->handle = NULL;
|
em->handle = NULL;
|
||||||
em->func.open = NULL;
|
em->func.open = NULL;
|
||||||
em->func.close = NULL;
|
em->func.close = NULL;
|
||||||
|
|
Loading…
Reference in New Issue