Commit 4365896ba23265f29fc9747a48a4cfb9b8a5dd87

Con Kolivas 2011-07-29T10:17:36

Release the command queue created after we've copied the binary data.

1
2
3
4
5
6
7
8
9
10
11
12
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) {