diff options
author | 2016-04-11 21:08:44 -0400 | |
---|---|---|
committer | 2016-04-11 21:08:44 -0400 | |
commit | 9412dc7edf29073f069e48a266910ac3c4436170 (patch) | |
tree | 515f35605dc060fe8ce0ce4986b674acf4eef30e /sway/container.c | |
parent | Merge pull request #580 from mikkeloscar/handle-realloc-fail (diff) | |
parent | Plug two memory leaks (diff) | |
download | sway-92d24605e9fb810f1bec209af82822c1d8b505c1.tar.gz sway-92d24605e9fb810f1bec209af82822c1d8b505c1.tar.zst sway-92d24605e9fb810f1bec209af82822c1d8b505c1.zip |
Plug two memory leaks
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c index 6dfc608d..a4b2d1c2 100644 --- a/sway/container.c +++ b/sway/container.c | |||
@@ -64,6 +64,7 @@ static void free_swayc(swayc_t *cont) { | |||
64 | if (cont->bg_pid != 0) { | 64 | if (cont->bg_pid != 0) { |
65 | terminate_swaybg(cont->bg_pid); | 65 | terminate_swaybg(cont->bg_pid); |
66 | } | 66 | } |
67 | free(cont->border); | ||
67 | free(cont); | 68 | free(cont); |
68 | } | 69 | } |
69 | 70 | ||