aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-12-09 01:15:23 +0000
committerIan Fan <ianfan0@gmail.com>2018-12-09 01:15:38 +0000
commit98c1e19466c0d83c8e1ca86eda5b273eda7eff3c (patch)
treeb47ccc174669786e3a1df9569046886c23003a45 /sway/tree/workspace.c
parentc8776fac4232f9faab0a78ef3e18dc4366496421 (diff)
list.c: rename free_flat_list to list_free_items_and_destroy
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r--sway/tree/workspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
index 4be63311..ed24b4fd 100644
--- a/sway/tree/workspace.c
+++ b/sway/tree/workspace.c
@@ -142,7 +142,7 @@ void workspace_destroy(struct sway_workspace *workspace) {
free(workspace->name);
free(workspace->representation);
- free_flat_list(workspace->output_priority);
+ list_free_items_and_destroy(workspace->output_priority);
list_free(workspace->floating);
list_free(workspace->tiling);
list_free(workspace->current.floating);