diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-12-09 01:15:23 +0000 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-12-09 01:15:38 +0000 |
commit | 98c1e19466c0d83c8e1ca86eda5b273eda7eff3c (patch) | |
tree | b47ccc174669786e3a1df9569046886c23003a45 /sway/commands/workspace.c | |
parent | Cleanup list code (diff) | |
download | sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.tar.gz sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.tar.zst sway-98c1e19466c0d83c8e1ca86eda5b273eda7eff3c.zip |
list.c: rename free_flat_list to list_free_items_and_destroy
Diffstat (limited to 'sway/commands/workspace.c')
-rw-r--r-- | sway/commands/workspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/workspace.c b/sway/commands/workspace.c index 7d32e65b..211b344d 100644 --- a/sway/commands/workspace.c +++ b/sway/commands/workspace.c | |||
@@ -33,7 +33,7 @@ static struct workspace_config *workspace_config_find_or_create(char *ws_name) { | |||
33 | 33 | ||
34 | void free_workspace_config(struct workspace_config *wsc) { | 34 | void free_workspace_config(struct workspace_config *wsc) { |
35 | free(wsc->workspace); | 35 | free(wsc->workspace); |
36 | free_flat_list(wsc->outputs); | 36 | list_free_items_and_destroy(wsc->outputs); |
37 | free(wsc); | 37 | free(wsc); |
38 | } | 38 | } |
39 | 39 | ||