mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
scene/output_layout: Fix crash in scene_output_layout_output_destroy
Closes: #3448
This commit is contained in:
parent
b89ed9015c
commit
0173275f7e
1 changed files with 1 additions and 1 deletions
|
@ -26,10 +26,10 @@ struct wlr_scene_output_layout_output {
|
||||||
|
|
||||||
static void scene_output_layout_output_destroy(
|
static void scene_output_layout_output_destroy(
|
||||||
struct wlr_scene_output_layout_output *solo) {
|
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->layout_output_destroy.link);
|
||||||
wl_list_remove(&solo->scene_output_destroy.link);
|
wl_list_remove(&solo->scene_output_destroy.link);
|
||||||
wl_list_remove(&solo->link);
|
wl_list_remove(&solo->link);
|
||||||
|
wlr_scene_output_destroy(solo->scene_output);
|
||||||
free(solo);
|
free(solo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue