Commit 51ef7220 authored by Vinson Lee's avatar Vinson Lee
Browse files

cl-api-get-device-info: 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 e0b7f0f8
......@@ -162,5 +162,7 @@ piglit_cl_test(const int argc,
piglit_merge_result(&result, PIGLIT_FAIL);
}
free(int_value);
return result;
}
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