mirror of
https://github.com/NickHu/sway
synced 2024-12-30 22:23:30 +01:00
Correctly free bindings list
This commit is contained in:
parent
614034b001
commit
47f4aea9e7
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ static void free_bar(struct bar_config *bar) {
|
||||||
for (i = 0; i < bar->bindings->length; ++i) {
|
for (i = 0; i < bar->bindings->length; ++i) {
|
||||||
free_sway_mouse_binding(bar->bindings->items[i]);
|
free_sway_mouse_binding(bar->bindings->items[i]);
|
||||||
}
|
}
|
||||||
free(bar->bindings);
|
list_free(bar->bindings);
|
||||||
|
|
||||||
for (i = 0; i < bar->outputs->length; ++i) {
|
for (i = 0; i < bar->outputs->length; ++i) {
|
||||||
free(bar->outputs->items[i]);
|
free(bar->outputs->items[i]);
|
||||||
|
|
Loading…
Reference in a new issue