GPU: Fix memory leak in VULKAN_CreateDevice (#10631)

This commit is contained in:
Andrei Alexeyev 2024-08-30 08:15:08 +03:00 committed by GitHub
parent 16fb8e54cb
commit d1a2c57fb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4854,6 +4854,7 @@ static void VULKAN_DestroyDevice(
SDL_free(renderer->shadersToDestroy);
SDL_free(renderer->samplersToDestroy);
SDL_free(renderer->framebuffersToDestroy);
SDL_free(renderer->allocationsToDefrag);
SDL_DestroyMutex(renderer->allocatorLock);
SDL_DestroyMutex(renderer->disposeLock);