diff options
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) { void free_workspace_config(struct workspace_config *wsc) { free(wsc->workspace); - free_flat_list(wsc->outputs); + list_free_items_and_destroy(wsc->outputs); free(wsc); } |