GPU: Fix memory leak in Vulkan command buffer

(cherry picked from commit aeb4309c0e)
This commit is contained in:
cosmonaut
2026-04-06 09:54:57 -07:00
committed by Sam Lantinga
parent 33090dc318
commit c226a67760

View File

@@ -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);