diff options
author | 2015-12-15 22:16:54 +0100 | |
---|---|---|
committer | 2015-12-15 22:16:54 +0100 | |
commit | 47f4aea9e75fbf44240ca6e7b2868faac55c3e60 (patch) | |
tree | 96a674f7ffcf52b0d035c55d6b15c6f23c984519 /sway | |
parent | Merge pull request #332 from mikkeloscar/bar-output (diff) | |
download | sway-47f4aea9e75fbf44240ca6e7b2868faac55c3e60.tar.gz sway-47f4aea9e75fbf44240ca6e7b2868faac55c3e60.tar.zst sway-47f4aea9e75fbf44240ca6e7b2868faac55c3e60.zip |
Correctly free bindings list
Diffstat (limited to 'sway')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c index d4d3b0c8..e86bdab5 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -47,7 +47,7 @@ static void free_bar(struct bar_config *bar) { | |||
47 | for (i = 0; i < bar->bindings->length; ++i) { | 47 | for (i = 0; i < bar->bindings->length; ++i) { |
48 | free_sway_mouse_binding(bar->bindings->items[i]); | 48 | free_sway_mouse_binding(bar->bindings->items[i]); |
49 | } | 49 | } |
50 | free(bar->bindings); | 50 | list_free(bar->bindings); |
51 | 51 | ||
52 | for (i = 0; i < bar->outputs->length; ++i) { | 52 | for (i = 0; i < bar->outputs->length; ++i) { |
53 | free(bar->outputs->items[i]); | 53 | free(bar->outputs->items[i]); |