summaryrefslogtreecommitdiff
path: root/src/lib/evas/file/evas_module.c
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2016-11-29 12:06:45 -0800
committerCedric Bail <cedric@osg.samsung.com>2016-11-29 12:06:45 -0800
commitccc15523804eef39dd2baf1aab095564ca2064b4 (patch)
tree7411fa5de5c1639c6be9e86b6ea31b5c95f7eee0 /src/lib/evas/file/evas_module.c
parentb6eb284c68df888eb5b5f738a7a4aed88119efb4 (diff)
evas: make sure that we initialize module correctly in all case.
Diffstat (limited to 'src/lib/evas/file/evas_module.c')
-rw-r--r--src/lib/evas/file/evas_module.c2
1 files changed, 1 insertions, 1 deletions
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);