diff options
Diffstat (limited to 'src/cl_context.c')
-rw-r--r-- | src/cl_context.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cl_context.c b/src/cl_context.c index f3dd4219..798419aa 100644 --- a/src/cl_context.c +++ b/src/cl_context.c @@ -396,12 +396,6 @@ cl_context_delete(cl_context ctx) ctx->internal_prgs[i] = NULL; cl_program_delete(p); } - - if (ctx->built_in_kernels[i]) { - cl_kernel k = ctx->built_in_kernels[i]; - ctx->built_in_kernels[i] = NULL; - cl_kernel_delete(k); - } } CL_OBJECT_DEC_REF(ctx); |