Fix memory leak in X11 key LUT generation

Closes #662.
This commit is contained in:
celestinmarot 2015-12-17 12:38:53 +01:00 committed by Camilla Berglund
parent d2d57c70e2
commit 80cef67580

View File

@ -311,6 +311,7 @@ static void createKeyTables(void)
XkbFreeNames(desc, XkbKeyNamesMask, True); XkbFreeNames(desc, XkbKeyNamesMask, True);
XkbFreeClientMap(desc, 0, True); XkbFreeClientMap(desc, 0, True);
XkbFreeKeyboard(desc, 0, True);
} }
for (scancode = 0; scancode < 256; scancode++) for (scancode = 0; scancode < 256; scancode++)