projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b026ed1
)
loader: gh971 Fix double free on physical devices
author
Maciej Jesionowski
<maciej.jesionowski@mobica.com>
Fri, 30 Sep 2016 13:14:52 +0000
(15:14 +0200)
committer
Mark Young
<marky@lunarg.com>
Fri, 30 Sep 2016 22:53:49 +0000
(16:53 -0600)
Change-Id: I97428dd579217340586809577eb64277ed4bb2cd
loader/loader.c
patch
|
blob
|
history
diff --git
a/loader/loader.c
b/loader/loader.c
index
2400ae3
..
1c6591f
100644
(file)
--- 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) {