mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-15 14:48:08 +02:00
gl-renderer: Don't leak transformed region
Unfortunately, our y_invert helper also forgot to free the region it transformed to. Clean up our allocation before we exit. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
3ebd870487
commit
9c81224eb3
1 changed files with 2 additions and 0 deletions
|
|
@ -1435,6 +1435,8 @@ pixman_region_to_egl_y_invert(struct weston_output *output,
|
|||
*d++ = box[i].x2 - box[i].x1;
|
||||
*d++ = box[i].y2 - box[i].y1;
|
||||
}
|
||||
|
||||
pixman_region32_fini(&transformed);
|
||||
}
|
||||
|
||||
/* NOTE: We now allow falling back to ARGB gl visuals when XRGB is
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue