aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-04-10 07:17:47 -0400
committerGitHub <noreply@github.com>2017-04-10 07:17:47 -0400
commit5d3a02a7c624bbef07b1b228eb1bb60fade5248c (patch)
tree35860f43beb1ce46de5a3d780ca33830d4bc9ba4 /sway/container.c
parent60ce81e06adc9ea133e8cfd030465e94295a95ff (diff)
parent7fee555a462b001748352da1339c9bcc0e154a3b (diff)
downloadsway-5d3a02a7c624bbef07b1b228eb1bb60fade5248c.tar.xz
Merge branch 'master' into pretty-print-swaymsg
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c4
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) {
}
list_free(cont->floating);
}
+ if (cont->marks) {
+ list_foreach(cont->marks, free);
+ list_free(cont->marks);
+ }
if (cont->parent) {
remove_child(cont);
}