diff options
| author | Maciej Jesionowski <maciej.jesionowski@mobica.com> | 2016-09-30 15:14:52 +0200 |
|---|---|---|
| committer | Mark Young <marky@lunarg.com> | 2016-09-30 16:53:49 -0600 |
| commit | 05c8f27a87314b430a5845de84bbb1fcdb418378 (patch) | |
| tree | 03945f437937e107de8c23692776184344d1ebf0 | |
| parent | 0f603598cac80990080aadea08f815835d78e3fd (diff) | |
| download | usermoji-05c8f27a87314b430a5845de84bbb1fcdb418378.tar.xz | |
loader: gh971 Fix double free on physical devices
Change-Id: I97428dd579217340586809577eb64277ed4bb2cd
| -rw-r--r-- | loader/loader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c index 2400ae38..1c6591fd 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -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) { |
