aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}