Skip to content
Commit 2c7dcece authored by Philipp Zabel's avatar Philipp Zabel Committed by Marius Vlad
Browse files

backend-wayland: fix memory leak in wayland_shm_buffer_attach



Since the pixman_region32_t damage is initialized unconditionally, also
finalize it unconditionally. Otherwise we leak rectangle memory when
sb->output->frame is NULL.

Reported-by: default avatarDaniel Stone <daniels@collabora.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 0d4c523c
Loading
Loading
Loading
Pipeline #904461 passed with stages
in 2 minutes and 49 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment