Merge pull request #37881 from qarmin/leak_vulkan

Fixes leaks with Vulkan device and instance
This commit is contained in:
Rémi Verschelde 2020-04-14 21:45:48 +02:00 committed by GitHub
commit 84142f6a5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1503,4 +1503,6 @@ VulkanContext::~VulkanContext() {
if (queue_props) {
free(queue_props);
}
vkDestroyDevice(device, nullptr);
vkDestroyInstance(inst, nullptr);
}