projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f6a1ae
)
demos/tri: fix a leak
author
Chia-I Wu
<olv@lunarg.com>
Thu, 16 Apr 2015 09:30:40 +0000
(17:30 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Thu, 16 Apr 2015 09:32:52 +0000
(17:32 +0800)
03bc341897dc25ed717827eaaef5939b13bb5ec0
missed this line.
demos/tri.c
patch
|
blob
|
history
diff --git
a/demos/tri.c
b/demos/tri.c
index
7262ff3
..
d0fa438
100644
(file)
--- a/
demos/tri.c
+++ b/
demos/tri.c
@@
-263,7
+263,6
@@
static void demo_prepare_buffers(struct demo *demo)
.arraySize = 1,
};
- demo->buffers[i].mem = malloc(sizeof(XGL_GPU_MEMORY));
err = xglWsiX11CreatePresentableImage(demo->device, &presentable_image,
&demo->buffers[i].image, &demo->buffers[i].mem);
assert(!err);