From a763bef615e2431c74ad659a3c41fd19937e06ed 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 "passes". --- libs/vkd3d/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index e5a0c76e..a14ee8a7 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -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);