diff options
-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 1473d130..7222b7a2 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -50,10 +50,7 @@ static void free_bar(struct bar_config *bar) { | |||
50 | } | 50 | } |
51 | list_free(bar->bindings); | 51 | list_free(bar->bindings); |
52 | 52 | ||
53 | for (i = 0; i < bar->outputs->length; ++i) { | 53 | free_flat_list(bar->outputs); |
54 | free(bar->outputs->items[i]); | ||
55 | } | ||
56 | list_free(bar->outputs); | ||
57 | free(bar); | 54 | free(bar); |
58 | } | 55 | } |
59 | 56 | ||