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:
ac77910
)
demos: Fix pointer cast warning in vulkaninfo
author
Lenny Komow
<lenny@lunarg.com>
Thu, 20 Jul 2017 20:31:16 +0000
(14:31 -0600)
committer
Lenny Komow
<lenny@lunarg.com>
Thu, 20 Jul 2017 20:32:11 +0000
(14:32 -0600)
Change-Id: I6acebbcbb9a10d86f3b7ec56148d9a680d085921
demos/vulkaninfo.c
patch
|
blob
|
history
diff --git
a/demos/vulkaninfo.c
b/demos/vulkaninfo.c
index
848d65f
..
401a7e9
100644
(file)
--- a/
demos/vulkaninfo.c
+++ b/
demos/vulkaninfo.c
@@
-926,7
+926,7
@@
static void AppDestroyInstance(struct AppInstance *inst) {
free(inst->global_layers[i].extension_properties);
}
free(inst->global_layers);
- free(inst->inst_extensions);
+ free(
(char**)
inst->inst_extensions);
vkDestroyInstance(inst->instance, NULL);
}