summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2018-10-17 10:19:44 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2018-10-17 10:19:44 +0900
commit97e71b9dc4fa73da99a890d9c39d6617e529dc94 (patch)
tree48df846469be45d74f038d74eb1e4311750a892f /src/lib/ecore_wl2
parent946b47430dcebeb91f8a4a9ab49ee8cd71d4e5e9 (diff)
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
Diffstat (limited to 'src/lib/ecore_wl2')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2.c2
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)
90 local_module = NULL; 90 local_module = NULL;
91 return EINA_FALSE; 91 return EINA_FALSE;
92 } 92 }
93 eina_module_free(local_module);
94 local_module = NULL;
93 return EINA_TRUE; 95 return EINA_TRUE;
94 } 96 }
95 } 97 }