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

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