WebPlatformForEmbedded / WPEBackend-rdk

BSD 2-Clause "Simplified" License
8 stars 38 forks source link

[wayland-egl] Avoid leaking wl_region object #47

Closed aperezdc closed 3 years ago

aperezdc commented 4 years ago

Destroy the wl_region object used to configure the opaque region of the surface after it has been used by wl_surface_set_opaque_region(), which makes a copy of the region.

aperezdc commented 3 years ago

Thanks for the review @pwielders