diff options
Diffstat (limited to 'sway/config/bar.c')
-rw-r--r-- | sway/config/bar.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c index 82457ef4..fc773026 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c @@ -49,8 +49,7 @@ void free_bar_config(struct bar_config *bar) { free(bar->font); free(bar->separator_symbol); for (int i = 0; i < bar->bindings->length; i++) { - struct bar_binding *binding = bar->bindings->items[i]; - free_bar_binding(binding); + free_bar_binding(bar->bindings->items[i]); } list_free(bar->bindings); free_flat_list(bar->outputs); |