diff options
author | Seunghun Lee <shiin.lee@samsung.com> | 2015-10-19 11:43:07 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-10-19 11:43:07 -0400 |
commit | b44d4ad3396ab8d4af61b4ceee23e0c776a22452 (patch) | |
tree | a1a62f67f162506d7b6ac66d6411d3a134990672 | |
parent | b9e793053d542aadf97a6e10a2a0621d13bb64a9 (diff) | |
download | enlightenment-b44d4ad3396ab8d4af61b4ceee23e0c776a22452.tar.gz |
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
-rw-r--r-- | src/bin/e_comp_wl_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index 932b0f8bb2..f54da33ea8 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 = |