summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utests/enqueue_built_in_kernels.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utests/enqueue_built_in_kernels.cpp b/utests/enqueue_built_in_kernels.cpp
index 52b8848b..2afbabd5 100644
--- a/utests/enqueue_built_in_kernels.cpp
+++ b/utests/enqueue_built_in_kernels.cpp
@@ -14,6 +14,7 @@ void enqueue_built_in_kernels(void)
OCL_ASSERT(ret_sz == built_in_kernels_size);
cl_program built_in_prog = clCreateProgramWithBuiltInKernels(ctx, 1, &device, built_in_kernel_names, &err);
OCL_ASSERT(built_in_prog != NULL);
+ clReleaseProgram(built_in_prog);
}
MAKE_UTEST_FROM_FUNCTION(enqueue_built_in_kernels);