v3dv: plug leak when destroying device

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
Iago Toral Quiroga 2019-12-17 08:48:52 +01:00 committed by Marge Bot
parent e6a7d88b53
commit 3b8aeb7f50

View file

@ -966,8 +966,8 @@ v3dv_DestroyDevice(VkDevice _device,
const VkAllocationCallbacks *pAllocator)
{
V3DV_FROM_HANDLE(v3dv_device, device, _device);
queue_finish(&device->queue);
vk_free2(&default_alloc, pAllocator, device);
}
void