Commit 75f943fe authored by Vinson Lee's avatar Vinson Lee
Browse files

gl-1.0-logicop: Fix memory leak.



Fix resource leak defect reported by Coverity.
Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent 51ef7220
......@@ -270,6 +270,8 @@ test_logicop(GLenum logicop)
if (!piglit_automatic)
piglit_present_results();
free(exp_data);
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
} /* test_logicop */
......
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