GPU: Fix memory leak in Vulkan command buffer
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled

This commit is contained in:
cosmonaut
2026-04-06 09:54:57 -07:00
committed by Sam Lantinga
parent 0a54fdb862
commit aeb4309c0e
+2
View File
@@ -3179,7 +3179,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);