Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/vkd3d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorJózef Kucia <jkucia@codeweavers.com>2016-10-05 19:40:25 +0300
committerJózef Kucia <jkucia@codeweavers.com>2016-10-05 19:40:25 +0300
commita763bef615e2431c74ad659a3c41fd19937e06ed (patch)
treeb34dc3c94c0b3334ff1938c79bed510d763b5457 /libs
parent1cabd851b80b99869bfe7a44c72f1c831832bd12 (diff)
libs/vkd3d: Do not leak "passes".
Diffstat (limited to 'libs')
-rw-r--r--libs/vkd3d/command.c1
1 files changed, 1 insertions, 0 deletions
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);