From b44d4ad3396ab8d4af61b4ceee23e0c776a22452 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 19 Oct 2015 11:43:07 -0400 Subject: [PATCH] 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 932b0f8bb..f54da33ea 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 =