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:
Wonki Kim 2018-10-17 10:19:44 +09:00 committed by WooHyun Jung
parent 946b47430d
commit 97e71b9dc4
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}