From 4365896ba23265f29fc9747a48a4cfb9b8a5dd87 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 29 Jul 2011 10:17:36 +1000 Subject: [PATCH] Release the command queue created after we've copied the binary data. --- ocl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ocl.c b/ocl.c index d5bd8e82..45f70955 100644 --- a/ocl.c +++ b/ocl.c @@ -550,6 +550,7 @@ build: applog(LOG_ERR, "Error: Getting program info. (clGetPlatformInfo)"); return NULL; } + clReleaseCommandQueue(clState->commandQueue); /* Patch the kernel if the hardware supports BFI_INT */ if (patchbfi) {