diff options
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/bar.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/config/bar.c b/sway/config/bar.c index 36e10527..82457ef4 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c @@ -53,9 +53,7 @@ void free_bar_config(struct bar_config *bar) { free_bar_binding(binding); } list_free(bar->bindings); - if (bar->outputs) { - free_flat_list(bar->outputs); - } + free_flat_list(bar->outputs); if (bar->pid != 0) { terminate_swaybar(bar->pid); } |