devilhorns pushed a commit to branch master.

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

commit b44d4ad3396ab8d4af61b4ceee23e0c776a22452
Author: Seunghun Lee <shiin....@samsung.com>
Date:   Mon Oct 19 11:43:07 2015 -0400

    e-comp-wl-input: don't leak the initial keymap.
    
    Summary: remove xkb_map_ref() for keymap in 
_e_comp_wl_input_keymap_update().
    
    Test Plan: N/A
    
    Reviewers: devilhorns, zmike
    
    Subscribers: ManMower, cedric
    
    Differential Revision: https://phab.enlightenment.org/D3173
---
 src/bin/e_comp_wl_input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c
index 932b0f8..f54da33 100644
--- a/src/bin/e_comp_wl_input.c
+++ b/src/bin/e_comp_wl_input.c
@@ -354,7 +354,7 @@ _e_comp_wl_input_keymap_update(struct xkb_keymap *keymap)
                            latched, locked, 0, 0, group);
 
    /* increment keymap reference */
-   e_comp_wl->xkb.keymap = xkb_map_ref(keymap);
+   e_comp_wl->xkb.keymap = keymap;
 
    /* fetch updated modifiers */
    e_comp_wl->kbd.mod_shift =

-- 


Reply via email to