Plug two memory leaks

Plug two memory leaks introduced in the border drawing code.
This commit is contained in:
Chang Liu 2016-04-12 11:11:26 +12:00
parent 3b5a8cb40d
commit 91d2a505b2
2 changed files with 3 additions and 0 deletions

View file

@ -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);
}