libs/vkd3d: Do not leak "passes".

This commit is contained in:
Józef Kucia 2016-10-05 18:40:25 +02:00
parent 1cabd851b8
commit a763bef615

View File

@ -743,6 +743,7 @@ static ULONG STDMETHODCALLTYPE d3d12_command_list_Release(ID3D12GraphicsCommandL
{
VK_CALL(vkDestroyRenderPass(device->vk_device, list->passes[i], NULL));
}
vkd3d_free(list->passes);
vkd3d_free(list);