mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 04:08:13 +02:00
clients/window: fix single_pixel_buffer_manager leak
Caught by ASan on weston-desktop-shell.
Fixes: 6cc8f48cd8
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
f72dfdae4c
commit
d26f1789fd
1 changed files with 3 additions and 0 deletions
|
|
@ -7067,6 +7067,9 @@ display_destroy(struct display *display)
|
|||
if (display->color_manager)
|
||||
wp_color_manager_v1_destroy(display->color_manager);
|
||||
|
||||
if (display->single_pixel_buffer_manager)
|
||||
wp_single_pixel_buffer_manager_v1_destroy(display->single_pixel_buffer_manager);
|
||||
|
||||
if (display->shm)
|
||||
wl_shm_destroy(display->shm);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue