From b255aea3edc4be75226e6ae6807d2a31ca42aeba Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 30 Jan 2021 15:42:51 +0100 Subject: config: free URL bindings --- wayland.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wayland.c') 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) -- cgit v1.3