diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-16 16:44:38 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-16 16:44:38 -0400 |
commit | c5d98fe6febc705487f4a8871f5abeb3aa36890b (patch) | |
tree | 762ecfc92de12eed31e8b7352e97af9fe609f045 /sway/container.c | |
parent | 75144318367dddd110f97c5693b2d543b7564f15 (diff) | |
parent | 5b860c67c3d8fcded0f88715fc69053f81c10449 (diff) |
Merge pull request #45 from taiyu-len/master
fixed split [vh], small memory leak, unescape_strings handle \xnn
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); } |