cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ccc15523804eef39dd2baf1aab095564ca2064b4

commit ccc15523804eef39dd2baf1aab095564ca2064b4
Author: Cedric Bail <[email protected]>
Date:   Tue Nov 29 12:06:45 2016 -0800

    evas: make sure that we initialize module correctly in all case.
---
 src/lib/evas/file/evas_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c
index 6752620..a7d46c2 100644
--- a/src/lib/evas/file/evas_module.c
+++ b/src/lib/evas/file/evas_module.c
@@ -526,7 +526,7 @@ evas_module_find_type(Evas_Module_Type type, const char 
*name)
         em = eina_hash_find(evas_modules[type], name);
         if (em)
           {
-             return em;
+             if (evas_module_load(em)) return em;
           }
 
         eina_module_free(en);

-- 


Reply via email to