projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbf07de
)
test/state: fix missing xkb_state_unref
author
Ran Benita
<ran234@gmail.com>
Wed, 25 Sep 2013 07:05:26 +0000
(10:05 +0300)
committer
Ran Benita
<ran234@gmail.com>
Wed, 25 Sep 2013 07:05:26 +0000
(10:05 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
test/state.c
patch
|
blob
|
history
diff --git
a/test/state.c
b/test/state.c
index
d4e5aba
..
5511a61
100644
(file)
--- a/
test/state.c
+++ b/
test/state.c
@@
-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