From cfc78dfdae9f67206da1924ce03dcb57247d70bf Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 7 Sep 2015 13:13:10 -0400 Subject: [PATCH] wl_text_input: initializes global handle after destroying. Summary: variable for handle should be initialized. Test Plan: N/A Reviewers: zmike, devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3013 --- src/modules/wl_text_input/e_mod_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/wl_text_input/e_mod_main.c b/src/modules/wl_text_input/e_mod_main.c index 473d479ce..fdfdbcf29 100644 --- a/src/modules/wl_text_input/e_mod_main.c +++ b/src/modules/wl_text_input/e_mod_main.c @@ -925,7 +925,7 @@ e_modapi_init(E_Module *m) if (!text_input_manager_global) { ERR("failed to create wl_global for text input manager"); - wl_global_destroy(e_comp->wl_comp_data->seat.im.global); + E_FREE_FUNC(e_comp->wl_comp_data->seat.im.global, wl_global_destroy); return NULL; }