summaryrefslogtreecommitdiff
path: root/src/keymap.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-09-23 20:36:01 +0200
committerDaniel Stone <daniel@fooishbar.org>2012-09-24 09:13:32 +1000
commit7a90f9e2256ff502342f52ad65b7bf007fd5e047 (patch)
tree36d05e952385dbb0c0a5ab427a1302c417a67599 /src/keymap.c
parent9a18b87251d1111987e98926a9aba9e72afc0259 (diff)
downloadlibxkbcommon-7a90f9e2256ff502342f52ad65b7bf007fd5e047.tar.gz
libxkbcommon-7a90f9e2256ff502342f52ad65b7bf007fd5e047.tar.bz2
libxkbcommon-7a90f9e2256ff502342f52ad65b7bf007fd5e047.zip
keymap: don't use XKB_NUM_GROUPS for key->kt_index
One unneeded XKB_NUM_GROUPS less. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 13ad829..43e43dd 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -99,6 +99,7 @@ xkb_keymap_unref(struct xkb_keymap *keymap)
free(key->num_syms);
free(key->syms);
free(key->actions);
+ free(key->kt_index);
}
darray_free(keymap->keys);
darray_free(keymap->sym_interpret);