From ccc15523804eef39dd2baf1aab095564ca2064b4 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Tue, 29 Nov 2016 12:06:45 -0800 Subject: [PATCH] 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 6752620daf..a7d46c2933 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);