Skip to content
Commit 552aaeff authored by Juan A. Suarez Romero's avatar Juan A. Suarez Romero Committed by Andres Gomez
Browse files

egl/wayland: do not leak wl_buffer when it is locked



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.

CC: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
(cherry picked from commit 54a9622d)
parent 7e0efcec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment