diff options
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c index 707aa4d8..08aa77a8 100644 --- a/sway/container.c +++ b/sway/container.c | |||
@@ -61,6 +61,10 @@ static void free_swayc(swayc_t *cont) { | |||
61 | } | 61 | } |
62 | list_free(cont->floating); | 62 | list_free(cont->floating); |
63 | } | 63 | } |
64 | if (cont->marks) { | ||
65 | list_foreach(cont->marks, free); | ||
66 | list_free(cont->marks); | ||
67 | } | ||
64 | if (cont->parent) { | 68 | if (cont->parent) { |
65 | remove_child(cont); | 69 | remove_child(cont); |
66 | } | 70 | } |