mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
gpu: Fix memory leak in Vulkan backend.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user