mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Do not leak "passes".
This commit is contained in:
parent
1cabd851b8
commit
a763bef615
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user