aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'rootston')
-rw-r--r--rootston/keyboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootston/keyboard.c b/rootston/keyboard.c
index 758a49fb..16071c0c 100644
--- a/rootston/keyboard.c
+++ b/rootston/keyboard.c
@@ -364,6 +364,7 @@ struct roots_keyboard *roots_keyboard_create(struct wlr_input_device *device,
}
wlr_keyboard_set_keymap(device->keyboard, keymap);
+ xkb_keymap_unref(keymap);
xkb_context_unref(context);
int repeat_rate = (config->repeat_rate > 0) ? config->repeat_rate : 25;