evas: make sure that we initialize module correctly in all case.

This commit is contained in:
Cedric Bail 2016-11-29 12:06:45 -08:00
parent b6eb284c68
commit ccc1552380
1 changed files with 1 additions and 1 deletions

View File

@ -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);