diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-15 16:26:10 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-15 16:26:10 -0500 |
commit | 87739618cac5efe3169368818e0ffd21c4e0a878 (patch) | |
tree | 96a674f7ffcf52b0d035c55d6b15c6f23c984519 /sway/config.c | |
parent | 614034b0012dcf99d760eaa9951c537acb75ea43 (diff) | |
parent | 47f4aea9e75fbf44240ca6e7b2868faac55c3e60 (diff) |
Merge pull request #333 from mikkeloscar/free-list
Correctly free bindings list
Diffstat (limited to 'sway/config.c')
-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) { for (i = 0; i < bar->bindings->length; ++i) { free_sway_mouse_binding(bar->bindings->items[i]); } - free(bar->bindings); + list_free(bar->bindings); for (i = 0; i < bar->outputs->length; ++i) { free(bar->outputs->items[i]); |