Module: vkd3d Branch: master Commit: 277cdd4e9541a11d63eb8d78ca3ab26d3901769b URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=277cdd4e9541a11d63eb8d78...
Author: Józef Kucia jkucia@codeweavers.com Date: Fri Apr 13 12:37:39 2018 +0200
libs/vkd3d: Fix memory leak in d3d12_command_queue_ExecuteCommandLists().
Signed-off-by: Józef Kucia jkucia@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
libs/vkd3d/command.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c index 5605ab0..a056ca3 100644 --- a/libs/vkd3d/command.c +++ b/libs/vkd3d/command.c @@ -4222,6 +4222,7 @@ static void STDMETHODCALLTYPE d3d12_command_queue_ExecuteCommandLists(ID3D12Comm if (!(vk_queue = vkd3d_queue_acquire(command_queue->vkd3d_queue))) { ERR("Failed to acquire queue %p.\n", command_queue->vkd3d_queue); + vkd3d_free(buffers); return; }