diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/config.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/config.c b/sway/config.c index e86bdab5..2f89cd39 100644 --- a/sway/config.c +++ b/sway/config.c @@ -49,10 +49,7 @@ static void free_bar(struct bar_config *bar) { } list_free(bar->bindings); - for (i = 0; i < bar->outputs->length; ++i) { - free(bar->outputs->items[i]); - } - list_free(bar->outputs); + free_flat_list(bar->outputs); free(bar); } |