one more leak
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

pull/13/head
cosmonaut 2022-02-22 16:26:17 -08:00
parent 059c28d5c0
commit 2a71815841
1 changed files with 1 additions and 0 deletions

View File

@ -3243,6 +3243,7 @@ static void VULKAN_INTERNAL_DestroyUniformBufferPool(
for (i = 0; i < uniformBufferPool->availableBufferCount; i += 1)
{
VULKAN_INTERNAL_DestroyBuffer(renderer, uniformBufferPool->availableBuffers[i]->vulkanBuffer);
SDL_free(uniformBufferPool->availableBuffers[i]);
}
SDL_DestroyMutex(uniformBufferPool->lock);