[Mesa-dev] [PATCH v2] egl/wayland: do not leak wl_buffer when it is locked

Daniel Stone daniel at fooishbar.org
Fri Aug 31 10:45:54 UTC 2018


On Thu, 30 Aug 2018 at 12:59, Juan A. Suarez Romero <jasuarez at igalia.com> wrote:
> If color buffer is locked, do not set its wayland buffer to NULL;
> otherwise it can not be freed later.
>
> Rather, flag it in order to destroy it later on the release event.
>
> v2: instruct release event to unlock only or free wl_buffer too (Daniel)
>
> This also fixes dEQP-EGL.functional.swap_buffers_with_damage.* tests.

Thanks Juan!

Reviewed-by: Daniel Stone <daniels at collabora.com>


More information about the mesa-dev mailing list