From d4756b7955666f87019d2e4bd4b420c16cf855c2 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 9 Jul 2012 12:27:28 +0100 Subject: [PATCH] toytoolkit: Remove redundant XKB free We already unref these in fini_xkb(). Signed-off-by: Daniel Stone --- clients/window.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clients/window.c b/clients/window.c index 92f3fd58..cb4bc842 100644 --- a/clients/window.c +++ b/clients/window.c @@ -3338,11 +3338,6 @@ input_destroy(struct input *input) input_remove_keyboard_focus(input); input_remove_pointer_focus(input); - if (input->xkb.state) - xkb_state_unref(input->xkb.state); - if (input->xkb.keymap) - xkb_map_unref(input->xkb.keymap); - if (input->drag_offer) data_offer_destroy(input->drag_offer);