mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
panvk/v10: Add missing cleanup_queue() in queue_finish()
Fixes a memory leak reported by dEQP-VK.api.object_management.alloc_callback_fail.device_group. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31382>
This commit is contained in:
parent
4645384b37
commit
904cf2b189
1 changed files with 1 additions and 0 deletions
|
|
@ -758,6 +758,7 @@ panvk_per_arch(queue_finish)(struct panvk_queue *queue)
|
|||
{
|
||||
struct panvk_device *dev = to_panvk_device(queue->vk.base.device);
|
||||
|
||||
cleanup_queue(queue);
|
||||
destroy_group(queue);
|
||||
cleanup_tiler(queue);
|
||||
drmSyncobjDestroy(dev->vk.drm_fd, queue->syncobj_handle);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue