summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/xcb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/xcb.c b/source/xcb.c
index 7bc80a84..e74904cb 100644
--- a/source/xcb.c
+++ b/source/xcb.c
@@ -967,6 +967,8 @@ gboolean display_setup ( GMainLoop *main_loop, NkBindings *bindings )
}
nk_bindings_seat_update_keymap ( xcb->bindings_seat, keymap, state );
+ xkb_state_unref(state);
+ xkb_keymap_unref(keymap);
// determine numlock mask so we can bind on keys with and without it
x11_create_frequently_used_atoms ( );