Unverified Commit 84142f6a by Rémi Verschelde Committed by GitHub

Merge pull request #37881 from qarmin/leak_vulkan

Fixes leaks with Vulkan device and instance
parents 1d8a9a9d 2ab4b054
......@@ -1503,4 +1503,6 @@ VulkanContext::~VulkanContext() {
if (queue_props) {
free(queue_props);
}
vkDestroyDevice(device, nullptr);
vkDestroyInstance(inst, nullptr);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment