diff options
Diffstat (limited to 'sway/config.c')
-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) { | |||
49 | } | 49 | } |
50 | list_free(bar->bindings); | 50 | list_free(bar->bindings); |
51 | 51 | ||
52 | for (i = 0; i < bar->outputs->length; ++i) { | 52 | free_flat_list(bar->outputs); |
53 | free(bar->outputs->items[i]); | ||
54 | } | ||
55 | list_free(bar->outputs); | ||
56 | free(bar); | 53 | free(bar); |
57 | } | 54 | } |
58 | 55 | ||