Release the command queue created after we've copied the binary data.
diff --git a/ocl.c b/ocl.c
index d5bd8e8..45f7095 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) {