aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConsolatis <40171-Consolatis@users.noreply.gitlab.freedesktop.org>2022-06-07 20:52:26 +0200
committerConsolatis <40171-Consolatis@users.noreply.gitlab.freedesktop.org>2022-06-07 20:58:41 +0200
commit0173275f7ed709dc9c3c6115bc8112bf1185d6ec (patch)
treef65ddd7962adbe116f1813679158063506c0dcd3
parentb89ed9015c3fbe8d339e9d65cf70fdca6e5645bc (diff)
scene/output_layout: Fix crash in scene_output_layout_output_destroy
Closes: #3448
-rw-r--r--types/scene/output_layout.c2
1 files changed, 1 insertions, 1 deletions
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);
}