aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarl Schultz <karl@lunarg.com>2018-12-06 16:10:25 -0700
committerjeremyk-lunarg <jeremyk@lunarg.com>2018-12-07 09:06:31 -0700
commit086c4895e43c80be16cade646a1b1d44fee853c2 (patch)
tree0aca5e1b02f4815e621a2a18bd1f4299a97f0fb6 /scripts
parent530732d15b736c3b29d615629035028cda2f032e (diff)
downloadusermoji-086c4895e43c80be16cade646a1b1d44fee853c2.tar.xz
vulkaninfo: Fix memory init/leak
- Clear the structures allocated for the pNext chains. While this is not strictly necessary, any pNext structure that is not filled in by a driver (because the extension isn't there) gets left in an untouched state. This can be a false positive flagged by valgrind. - Use XFree to free storage allocated by Xlib's XGetVisualInfo(). This fixes an actual leak.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions