diff options
author | Chang Liu <cliu712@aucklanduni.ac.nz> | 2016-04-12 11:11:26 +1200 |
---|---|---|
committer | Chang Liu <cliu712@aucklanduni.ac.nz> | 2016-04-12 12:35:50 +1200 |
commit | 91d2a505b28f44f5d0fbb7fd63e9f56e74bf12eb (patch) | |
tree | 515f35605dc060fe8ce0ce4986b674acf4eef30e /sway/container.c | |
parent | 3b5a8cb40d4ab07aa9a72ba87660e4b9801afa21 (diff) |
Plug two memory leaks
Plug two memory leaks introduced in the border drawing code.
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) { if (cont->bg_pid != 0) { terminate_swaybg(cont->bg_pid); } + free(cont->border); free(cont); } |