Commit 292e993d authored by Sergii Romantsov's avatar Sergii Romantsov Committed by Marek Olšák

fbo-scissor-blit: memory leak

Test leaks a memory allocated by malloc: fixed

CC: Paul Berry <stereotype441@gmail.com>
Signed-off-by: 's avatarSergii Romantsov <sergii.romantsov@globallogic.com>
Signed-off-by: 's avatarMarek Olšák <marek.olsak@amd.com>
parent 968d5572
...@@ -190,6 +190,7 @@ piglit_display(void) ...@@ -190,6 +190,7 @@ piglit_display(void)
GL_COLOR_BUFFER_BIT, GL_NEAREST); GL_COLOR_BUFFER_BIT, GL_NEAREST);
} }
free(ref_image);
piglit_present_results(); piglit_present_results();
return pass ? PIGLIT_PASS : PIGLIT_FAIL; return pass ? PIGLIT_PASS : PIGLIT_FAIL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment