mirror of https://github.com/libsdl-org/SDL.git
gpu: Fix memory leak in Vulkan backend.
This commit is contained in:
parent
43e7ce7dfc
commit
3a6a3ab64f
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue