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
This commit is contained in:
Seunghun Lee 2015-10-19 11:43:07 -04:00 committed by Chris Michael
parent b9e793053d
commit b44d4ad339
1 changed files with 1 additions and 1 deletions

View File

@ -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 =