mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
libs/vkd3d: Do not leak "passes".
This commit is contained in:
@ -743,6 +743,7 @@ static ULONG STDMETHODCALLTYPE d3d12_command_list_Release(ID3D12GraphicsCommandL
|
|||||||
{
|
{
|
||||||
VK_CALL(vkDestroyRenderPass(device->vk_device, list->passes[i], NULL));
|
VK_CALL(vkDestroyRenderPass(device->vk_device, list->passes[i], NULL));
|
||||||
}
|
}
|
||||||
|
vkd3d_free(list->passes);
|
||||||
|
|
||||||
vkd3d_free(list);
|
vkd3d_free(list);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user