diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-18 14:53:24 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-12-18 14:53:24 -0500 |
commit | c838679393440680c9337a745be4f659ac7349c2 (patch) | |
tree | 38f97a9c5ebc54ce7903af29cd700476c901dec7 /rootston/keyboard.c | |
parent | 20327d82cb4f2f56cf0822554aebe19ed32fd623 (diff) |
fix memory leaks
Diffstat (limited to 'rootston/keyboard.c')
-rw-r--r-- | rootston/keyboard.c | 1 |
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; |