Fixes Coverity "resource leak" defects.
Signed-off-by: Vinson Lee
---
tests/cl/api/enqueue-fill-image.c | 4
1 file changed, 4 insertions(+)
diff --git a/tests/cl/api/enqueue-fill-image.c
b/tests/cl/api/enqueue-fill-image.c
index ebcfba4..994ccb4 100644
--- a/tests/cl/api/enqueue-fill-ima
I think we can
free(image_support):
image_suppot = NULL;
right after the test
if (!*image_support) {
fprintf(stderr, "No image support\n");
free(image_support);
return PIGLIT_SKIP;
}
that would avoid the need to add it in every PI