diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-30 14:42:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-07 15:33:31 +0000 |
| commit | b255aea3edc4be75226e6ae6807d2a31ca42aeba (patch) | |
| tree | c0e0f1d34fb753002296c1202eab4150201dec4c | |
| parent | config: add infrastructure to handle URL mode specific key bindings (diff) | |
config: free URL bindings
| -rw-r--r-- | config.c | 1 | ||||
| -rw-r--r-- | wayland.c | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -2406,6 +2406,7 @@ config_free(struct config conf) tll_free(conf.bindings.key); tll_free(conf.bindings.mouse); tll_free(conf.bindings.search); + tll_free(conf.bindings.url); user_notifications_free(&conf.notifications); } @@ -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) |
