forked from enlightenment/efl
Revert "evas: Fix resource leak in evas_module_find_type"
Reverting this as it causes crashes in Terminology and other EFL apps.
Needs investigation.
This reverts commit 8b2ca30eb5
.
This commit is contained in:
parent
13541f0054
commit
51684536f0
|
@ -574,11 +574,7 @@ evas_module_find_type(Evas_Module_Type type, const char *name)
|
|||
em = eina_hash_find(evas_modules[type], name);
|
||||
if (em)
|
||||
{
|
||||
if (evas_module_load(em))
|
||||
{
|
||||
eina_module_free(en);
|
||||
return em;
|
||||
}
|
||||
if (evas_module_load(em)) return em;
|
||||
}
|
||||
|
||||
eina_module_free(en);
|
||||
|
|
Loading…
Reference in New Issue