diff --git a/src/x11_init.c b/src/x11_init.c index a2e526e0..52b9d784 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -311,6 +311,7 @@ static void createKeyTables(void) XkbFreeNames(desc, XkbKeyNamesMask, True); XkbFreeClientMap(desc, 0, True); + XkbFreeKeyboard(desc, 0, True); } for (scancode = 0; scancode < 256; scancode++)