diff options
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c index 46694cbd..3158b8b0 100644 --- a/sway/container.c +++ b/sway/container.c @@ -31,6 +31,9 @@ static void free_swayc(swayc_t *c) { } remove_child(c->parent, c); } + if (c->name) { + free(c->name); + } free(c); } |