~ruther/dwl

8206cc8889994b3e9ce3c50abefc19367cf49a8e — Guido Cella 1 year, 1 month ago 54f2078
fix a use after free

This line makes dwl crash after closing mpv with the switchtotag patch.
1 files changed, 0 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +0 -1
@@ 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);