test/state: fix missing xkb_state_unref
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
dbf07de14d
commit
59fb79e75e
|
@ -416,6 +416,8 @@ test_caps_keysym_transformation(struct xkb_keymap *keymap)
|
|||
assert(xkb_state_mod_index_is_active(state, shift, XKB_STATE_MODS_EFFECTIVE) == 0);
|
||||
xkb_state_update_key(state, KEY_CAPSLOCK + 8, XKB_KEY_DOWN);
|
||||
xkb_state_update_key(state, KEY_CAPSLOCK + 8, XKB_KEY_UP);
|
||||
|
||||
xkb_state_unref(state);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue