mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-11-23 15:20:52 +00:00
loader: gh971 Fix double free on physical devices
Change-Id: I97428dd579217340586809577eb64277ed4bb2cd
This commit is contained in:
parent
26703e0452
commit
5df6d909ca
@ -4457,6 +4457,7 @@ terminator_EnumeratePhysicalDevices(VkInstance instance,
|
||||
|
||||
if (inst->phys_devs_term) {
|
||||
loader_instance_heap_free(inst, inst->phys_devs_term);
|
||||
inst->phys_devs_term = NULL;
|
||||
}
|
||||
|
||||
if (copy_count > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user