mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Fix segfault when reaping invisible workspaces
This commit is contained in:
parent
b28e6d2369
commit
88f08a42f3
2 changed files with 4 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ struct sway_container *container_destroy(struct sway_container *cont) {
|
|||
list_free(cont->marks);
|
||||
}
|
||||
if (parent) {
|
||||
container_remove_child(cont);
|
||||
parent = container_remove_child(cont);
|
||||
}
|
||||
if (cont->name) {
|
||||
free(cont->name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue