mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-21 15:28:33 +02:00
compositor: Fix region leak
This commit is contained in:
parent
e75cb7f64b
commit
fd94bf0fd0
1 changed files with 1 additions and 0 deletions
|
|
@ -1650,6 +1650,7 @@ WL_EXPORT void
|
|||
wlsc_output_destroy(struct wlsc_output *output)
|
||||
{
|
||||
pixman_region32_fini(&output->region);
|
||||
pixman_region32_fini(&output->previous_damage_region);
|
||||
destroy_surface(&output->background->surface.resource, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue