discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=cfc78dfdae9f67206da1924ce03dcb57247d70bf

commit cfc78dfdae9f67206da1924ce03dcb57247d70bf
Author: Seunghun Lee <beauty.positi...@gmail.com>
Date:   Mon Sep 7 13:13:10 2015 -0400

    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 473d479..fdfdbcf 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;
      }
 

-- 


Reply via email to