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:
97af2fd
)
cube: Add missing free in IPD code
author
Karl Schultz
<karl@lunarg.com>
Mon, 28 May 2018 22:16:47 +0000
(16:16 -0600)
committer
Karl Schultz
<karl@lunarg.com>
Tue, 29 May 2018 21:24:25 +0000
(15:24 -0600)
Fixes #11
cube/cube.c
patch
|
blob
|
history
diff --git
a/cube/cube.c
b/cube/cube.c
index
154019e
..
9e08455
100644
(file)
--- a/
cube/cube.c
+++ b/
cube/cube.c
@@
-994,6
+994,7
@@
void DemoUpdateTargetIPD(struct demo *demo) {
int64_t multiple = demo->next_present_id - past[count - 1].presentID;
demo->prev_desired_present_time = (past[count - 1].actualPresentTime + (multiple * demo->target_IPD));
}
+ free(past);
}
}