mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
config: free URL bindings
This commit is contained in:
parent
ee39966ded
commit
b255aea3ed
2 changed files with 5 additions and 0 deletions
1
config.c
1
config.c
|
|
@ -2406,6 +2406,7 @@ config_free(struct config conf)
|
||||||
tll_free(conf.bindings.key);
|
tll_free(conf.bindings.key);
|
||||||
tll_free(conf.bindings.mouse);
|
tll_free(conf.bindings.mouse);
|
||||||
tll_free(conf.bindings.search);
|
tll_free(conf.bindings.search);
|
||||||
|
tll_free(conf.bindings.url);
|
||||||
|
|
||||||
user_notifications_free(&conf.notifications);
|
user_notifications_free(&conf.notifications);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -148,6 +148,10 @@ seat_destroy(struct seat *seat)
|
||||||
tll_free(it->item.bind.key_codes);
|
tll_free(it->item.bind.key_codes);
|
||||||
tll_free(seat->kbd.bindings.search);
|
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);
|
tll_free(seat->mouse.bindings);
|
||||||
|
|
||||||
if (seat->kbd.xkb_compose_state != NULL)
|
if (seat->kbd.xkb_compose_state != NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue