diff options
author | Wonki Kim <wonki_.kim@samsung.com> | 2018-10-17 10:19:44 +0900 |
---|---|---|
committer | WooHyun Jung <wh0705.jung@samsung.com> | 2018-10-17 10:19:44 +0900 |
commit | 97e71b9dc4fa73da99a890d9c39d6617e529dc94 (patch) | |
tree | 48df846469be45d74f038d74eb1e4311750a892f | |
parent | 946b47430dcebeb91f8a4a9ab49ee8cd71d4e5e9 (diff) | |
download | efl-97e71b9dc4fa73da99a890d9c39d6617e529dc94.tar.gz |
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
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c index ce209a6ab9..d448d63a87 100644 --- a/src/lib/ecore_wl2/ecore_wl2.c +++ b/src/lib/ecore_wl2/ecore_wl2.c @@ -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; } } |