Commit 9c81224e authored by Daniel Stone's avatar Daniel Stone Committed by Daniel Stone
Browse files

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's avatarDaniel Stone <>
parent 3ebd8704
......@@ -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;
/* NOTE: We now allow falling back to ARGB gl visuals when XRGB is
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment