From 1cabd851b80b99869bfe7a44c72f1c831832bd12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Wed, 5 Oct 2016 18:40:25 +0200 Subject: [PATCH] libs/vkd3d: Do not leak "framebuffers". --- libs/vkd3d/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 18696eb5..e5a0c76e 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -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) {