Merge pull request #37881 from qarmin/leak_vulkan
Fixes leaks with Vulkan device and instance
This commit is contained in:
commit
84142f6a5f
1 changed files with 2 additions and 0 deletions
|
@ -1503,4 +1503,6 @@ VulkanContext::~VulkanContext() {
|
|||
if (queue_props) {
|
||||
free(queue_props);
|
||||
}
|
||||
vkDestroyDevice(device, nullptr);
|
||||
vkDestroyInstance(inst, nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue