mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-26 21:58:08 +01:00
view: fix surface_new_subsurface use-after-free
This commit is contained in:
parent
c22caa54a8
commit
90d936d4ad
1 changed files with 1 additions and 0 deletions
|
@ -949,6 +949,7 @@ void view_child_destroy(struct sway_view_child *child) {
|
|||
wl_list_remove(&child->surface_commit.link);
|
||||
wl_list_remove(&child->surface_destroy.link);
|
||||
wl_list_remove(&child->view_unmap.link);
|
||||
wl_list_remove(&child->surface_new_subsurface.link);
|
||||
|
||||
if (child->impl && child->impl->destroy) {
|
||||
child->impl->destroy(child);
|
||||
|
|
Loading…
Reference in a new issue