diff options
| author | Karl Schultz <karl@lunarg.com> | 2018-05-28 16:16:47 -0600 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2018-05-29 15:24:25 -0600 |
| commit | a33771f7bfb1b513f7e56c61bba1ea9a315a2189 (patch) | |
| tree | fc2779939da108aa35c27ec976c5605894a09a62 | |
| parent | 97af2fddae7423a1ae06aba5412cb474706e1952 (diff) | |
| download | usermoji-a33771f7bfb1b513f7e56c61bba1ea9a315a2189.tar.xz | |
cube: Add missing free in IPD code
Fixes #11
| -rw-r--r-- | cube/cube.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cube/cube.c b/cube/cube.c index 154019e8..9e084559 100644 --- 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); } } |
