sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 702cf053e2a14680e57db07416fd440e0f3009a8
parent 05e48835f71e8d364d3ac5e29bdb6bf056c2e570
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 20 Dec 2015 09:20:03 -0500

Merge pull request #370 from sce/fix_free_bar

config: free_bar: Check if outputs is NULL.
Diffstat:
Msway/config.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sway/config.c b/sway/config.c @@ -53,7 +53,9 @@ static void free_bar(struct bar_config *bar) { } list_free(bar->bindings); - free_flat_list(bar->outputs); + if (bar->outputs) { + free_flat_list(bar->outputs); + } free(bar); }