From ec23554b541798d9bb86fd742b376bd1ce3804f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Mon, 24 Oct 2016 15:43:12 +0200 Subject: [PATCH] libs/vkd3d: Fix memory leak in d3d12_command_allocator_Release(). --- libs/vkd3d/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index a244c6ae..8c7275ff 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -700,6 +700,7 @@ static ULONG STDMETHODCALLTYPE d3d12_command_allocator_Release(ID3D12CommandAllo vkd3d_free(allocator->passes); /* All command buffers are implicitly freed when a pool is destroyed. */ + vkd3d_free(allocator->command_buffers); VK_CALL(vkDestroyCommandPool(device->vk_device, allocator->vk_command_pool, NULL)); vkd3d_free(allocator);