aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index c9eedc60..e4907f96 100644
--- a/wayland.c
+++ b/wayland.c
@@ -923,8 +923,14 @@ wayl_destroy(struct wayland *wayl)
if (wayl->presentation != NULL)
wp_presentation_destroy(wayl->presentation);
+ tll_foreach(wayl->kbd.bindings.key, it)
+ tll_free(it->item.key_codes);
tll_free(wayl->kbd.bindings.key);
+
+ tll_foreach(wayl->kbd.bindings.search, it)
+ tll_free(it->item.key_codes);
tll_free(wayl->kbd.bindings.search);
+
if (wayl->kbd.xkb_compose_state != NULL)
xkb_compose_state_unref(wayl->kbd.xkb_compose_state);
if (wayl->kbd.xkb_compose_table != NULL)