fix a use after free
This line makes dwl crash after closing mpv with the switchtotag patch.
(cherry picked from commit 8206cc8889
)
This commit is contained in:
parent
298c6e1839
commit
b2abff8b57
1 changed files with 0 additions and 1 deletions
1
dwl.c
1
dwl.c
|
@ -1177,7 +1177,6 @@ void
|
|||
destroydecoration(struct wl_listener *listener, void *data)
|
||||
{
|
||||
Client *c = wl_container_of(listener, c, destroy_decoration);
|
||||
c->decoration = NULL;
|
||||
|
||||
wl_list_remove(&c->destroy_decoration.link);
|
||||
wl_list_remove(&c->set_decoration_mode.link);
|
||||
|
|
Loading…
Add table
Reference in a new issue