diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/evas/file/evas_module.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c index 67f565657f..0088b1bf18 100644 --- a/src/lib/evas/file/evas_module.c +++ b/src/lib/evas/file/evas_module.c | |||
@@ -574,7 +574,11 @@ evas_module_find_type(Evas_Module_Type type, const char *name) | |||
574 | em = eina_hash_find(evas_modules[type], name); | 574 | em = eina_hash_find(evas_modules[type], name); |
575 | if (em) | 575 | if (em) |
576 | { | 576 | { |
577 | if (evas_module_load(em)) return em; | 577 | if (evas_module_load(em)) |
578 | { | ||
579 | eina_module_free(en); | ||
580 | return em; | ||
581 | } | ||
578 | } | 582 | } |
579 | 583 | ||
580 | eina_module_free(en); | 584 | eina_module_free(en); |