aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-30 14:42:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-07 15:33:31 +0000
commitb255aea3edc4be75226e6ae6807d2a31ca42aeba (patch)
treec0e0f1d34fb753002296c1202eab4150201dec4c /wayland.c
parentconfig: add infrastructure to handle URL mode specific key bindings (diff)
config: free URL bindings
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index d3c560b7..f30e1b6f 100644
--- a/wayland.c
+++ b/wayland.c
@@ -148,6 +148,10 @@ seat_destroy(struct seat *seat)
tll_free(it->item.bind.key_codes);
tll_free(seat->kbd.bindings.search);
+ tll_foreach(seat->kbd.bindings.url, it)
+ tll_free(it->item.bind.key_codes);
+ tll_free(seat->kbd.bindings.url);
+
tll_free(seat->mouse.bindings);
if (seat->kbd.xkb_compose_state != NULL)