mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
vulkan/wsi/wayland: fix leaks
Fixes: bfa22266cd ("vulkan/wsi/wayland: Add support for zwp_dmabuf")
Reviewed-by: Daniel Stone <daniels@collabora.com>
CC: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
06076ead28
commit
a58fdc61e9
1 changed files with 4 additions and 0 deletions
|
|
@ -317,8 +317,12 @@ wsi_wl_display_finish(struct wsi_wl_display *display)
|
|||
assert(display->refcount == 0);
|
||||
|
||||
u_vector_finish(&display->formats);
|
||||
u_vector_finish(&display->modifiers.argb8888);
|
||||
u_vector_finish(&display->modifiers.xrgb8888);
|
||||
if (display->drm)
|
||||
wl_drm_destroy(display->drm);
|
||||
if (display->dmabuf)
|
||||
zwp_linux_dmabuf_v1_destroy(display->dmabuf);
|
||||
if (display->wl_display_wrapper)
|
||||
wl_proxy_wrapper_destroy(display->wl_display_wrapper);
|
||||
if (display->queue)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue