Skip to content
Snippets Groups Projects
Commit be935deb authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot
Browse files

Wayland: Properly unref all xkbcommon objects.

parent 1c8a74b6
No related branches found
No related tags found
No related merge requests found
...@@ -643,6 +643,10 @@ void _glfwPlatformTerminate(void) ...@@ -643,6 +643,10 @@ void _glfwPlatformTerminate(void)
_glfwTerminateJoysticksLinux(); _glfwTerminateJoysticksLinux();
_glfwTerminateThreadLocalStoragePOSIX(); _glfwTerminateThreadLocalStoragePOSIX();
xkb_keymap_unref(_glfw.wl.xkb.keymap);
xkb_state_unref(_glfw.wl.xkb.state);
xkb_context_unref(_glfw.wl.xkb.context);
if (_glfw.wl.cursorTheme) if (_glfw.wl.cursorTheme)
wl_cursor_theme_destroy(_glfw.wl.cursorTheme); wl_cursor_theme_destroy(_glfw.wl.cursorTheme);
if (_glfw.wl.cursorSurface) if (_glfw.wl.cursorSurface)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment