mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-08 18:07:17 +02:00
GPU: Fix memory leak in Vulkan command buffer
(cherry picked from commit aeb4309c0e)
This commit is contained in:
@@ -3130,7 +3130,9 @@ static void VULKAN_INTERNAL_DestroyCommandPool(
|
||||
SDL_free(commandBuffer->waitSemaphores);
|
||||
SDL_free(commandBuffer->signalSemaphores);
|
||||
SDL_free(commandBuffer->usedBuffers);
|
||||
SDL_free(commandBuffer->buffersUsedInPendingTransfers);
|
||||
SDL_free(commandBuffer->usedTextures);
|
||||
SDL_free(commandBuffer->texturesUsedInPendingTransfers);
|
||||
SDL_free(commandBuffer->usedSamplers);
|
||||
SDL_free(commandBuffer->usedGraphicsPipelines);
|
||||
SDL_free(commandBuffer->usedComputePipelines);
|
||||
|
||||
Reference in New Issue
Block a user