mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
fixed 2 small memory leaks & adds format attribute to log.
This commit is contained in:
parent
d3d0ba3a4b
commit
083d1eed1f
6 changed files with 26 additions and 17 deletions
|
|
@ -31,6 +31,9 @@ static void free_swayc(swayc_t *c) {
|
|||
}
|
||||
remove_child(c->parent, c);
|
||||
}
|
||||
if (c->name) {
|
||||
free(c->name);
|
||||
}
|
||||
free(c);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue