Fix memory leak on compose table creation
This commit is contained in:
parent
a0ff625f61
commit
4d3982c5cf
1
glfw/xkb_glfw.c
vendored
1
glfw/xkb_glfw.c
vendored
@ -255,6 +255,7 @@ load_compose_tables(_GLFWXKBData *xkb) {
|
||||
if (!xkb->states.composeState) {
|
||||
_glfwInputError(GLFW_PLATFORM_ERROR, "Failed to create XKB compose state");
|
||||
}
|
||||
xkb_compose_table_unref(compose_table);
|
||||
}
|
||||
|
||||
GLFWbool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user