forked from enlightenment/efl
ecore_wl2: Fix a memory leaking case
Summary: there is a memory leaking in some case. this patch fixes it. Signed-off-by: Wonki Kim <wonki_.kim@samsung.com> Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7167
This commit is contained in:
parent
946b47430d
commit
97e71b9dc4
|
@ -90,6 +90,8 @@ _ecore_wl2_surface_modules_init(void)
|
|||
local_module = NULL;
|
||||
return EINA_FALSE;
|
||||
}
|
||||
eina_module_free(local_module);
|
||||
local_module = NULL;
|
||||
return EINA_TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue