From e1170a7c1fdd0156a5d0d3fb576e030a873ae6a6 Mon Sep 17 00:00:00 2001 From: JengHyun Kang Date: Tue, 5 Jul 2016 17:01:32 +0900 Subject: [PATCH] Finish the cynara before free a krt Change-Id: I3c97d18038b33c90756210e960a082417375707f --- src/e_mod_main_wl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/e_mod_main_wl.c b/src/e_mod_main_wl.c index 9f646fa..87153b3 100644 --- a/src/e_mod_main_wl.c +++ b/src/e_mod_main_wl.c @@ -1008,11 +1008,12 @@ e_modapi_shutdown(E_Module *m) wl_resource_destroy(resource); wl_global_destroy(krt->global); - E_FREE(krt); #ifdef ENABLE_CYNARA if (krt->p_cynara) cynara_finish(krt->p_cynara); #endif + + E_FREE(krt); /* TODO: free allocated memory */ return 1; -- 2.34.1