From 0173275f7ed709dc9c3c6115bc8112bf1185d6ec Mon Sep 17 00:00:00 2001 From: Consolatis <40171-Consolatis@users.noreply.gitlab.freedesktop.org> Date: Tue, 7 Jun 2022 20:52:26 +0200 Subject: [PATCH] scene/output_layout: Fix crash in scene_output_layout_output_destroy Closes: #3448 --- types/scene/output_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/scene/output_layout.c b/types/scene/output_layout.c index 900cabc3..1d1484ad 100644 --- a/types/scene/output_layout.c +++ b/types/scene/output_layout.c @@ -26,10 +26,10 @@ struct wlr_scene_output_layout_output { static void scene_output_layout_output_destroy( struct wlr_scene_output_layout_output *solo) { - wlr_scene_output_destroy(solo->scene_output); wl_list_remove(&solo->layout_output_destroy.link); wl_list_remove(&solo->scene_output_destroy.link); wl_list_remove(&solo->link); + wlr_scene_output_destroy(solo->scene_output); free(solo); }