summaryrefslogtreecommitdiff
path: root/lib/renderers/wayland/registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/renderers/wayland/registry.c')
-rw-r--r--lib/renderers/wayland/registry.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/renderers/wayland/registry.c b/lib/renderers/wayland/registry.c
index 8a00659..ab64a85 100644
--- a/lib/renderers/wayland/registry.c
+++ b/lib/renderers/wayland/registry.c
@@ -260,6 +260,9 @@ bm_wl_registry_destroy(struct wayland *wayland)
if (wayland->registry)
wl_registry_destroy(wayland->registry);
+
+ xkb_keymap_unref(wayland->input.xkb.keymap);
+ xkb_state_unref(wayland->input.xkb.state);
}
bool