mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Small memory leak in x11_init.c
add XkbFreeKeyboard(desc, 0, True); to avoid valgrind complaining
This commit is contained in:
parent
ecd04539ec
commit
cddee11c35
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user