gpu: Fix memory leak in Vulkan backend.

This commit is contained in:
Ryan C. Gordon 2024-10-04 04:46:28 -04:00
parent 43e7ce7dfc
commit 3a6a3ab64f
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 0 deletions

View File

@ -3205,6 +3205,7 @@ static void VULKAN_INTERNAL_DestroyDescriptorSetCache(
SDL_free(descriptorSetCache->pools[i].descriptorSets);
SDL_free(descriptorSetCache->pools[i].descriptorPools);
}
SDL_free(descriptorSetCache->pools);
SDL_free(descriptorSetCache);
}