1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

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

This commit is contained in:
Con Kolivas 2011-07-29 10:17:36 +10:00
parent 283d5d2343
commit 4365896ba2

1
ocl.c
View File

@ -550,6 +550,7 @@ build:
applog(LOG_ERR, "Error: Getting program info. (clGetPlatformInfo)"); applog(LOG_ERR, "Error: Getting program info. (clGetPlatformInfo)");
return NULL; return NULL;
} }
clReleaseCommandQueue(clState->commandQueue);
/* Patch the kernel if the hardware supports BFI_INT */ /* Patch the kernel if the hardware supports BFI_INT */
if (patchbfi) { if (patchbfi) {