commit 8206cc8889994b3e9ce3c50abefc19367cf49a8e
parent 54f207839f686a44918cfc581b15ff153215ee9c
Author: Guido Cella <guido@guidocella.xyz>
Date: Sat, 7 Sep 2024 21:22:40 +0200
fix a use after free
This line makes dwl crash after closing mpv with the switchtotag patch.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/dwl.c b/dwl.c
@@ -1171,7 +1171,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);