1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

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);
XkbFreeClientMap(desc, 0, True);
XkbFreeKeyboard(desc, 0, True);
}
for (scancode = 0; scancode < 256; scancode++)