libs/vkd3d: Do not leak "framebuffers".

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

View File

@ -737,6 +737,7 @@ static ULONG STDMETHODCALLTYPE d3d12_command_list_Release(ID3D12GraphicsCommandL
{
VK_CALL(vkDestroyFramebuffer(device->vk_device, list->framebuffers[i], NULL));
}
vkd3d_free(list->framebuffers);
for (i = 0; i < list->pass_count; ++i)
{