mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-13 23:33:13 +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