mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
scene/output_layout: Fix crash in scene_output_layout_output_destroy
Closes: #3448
This commit is contained in:
parent
b89ed9015c
commit
0173275f7e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user