mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-26 16:59:03 +00:00
Fix issue https://github.com/KhronosGroup/OpenCL-CTS/issues/943. Free buffer while verify fail.
This commit is contained in:
@@ -215,6 +215,8 @@ int test_strided_copy(cl_device_id deviceID, cl_context context, cl_command_queu
|
|||||||
sprintf(values + strlen( values), "%2x ", outchar[j]);
|
sprintf(values + strlen( values), "%2x ", outchar[j]);
|
||||||
sprintf(values + strlen(values), "]");
|
sprintf(values + strlen(values), "]");
|
||||||
log_error("%s\n", values);
|
log_error("%s\n", values);
|
||||||
|
free(inBuffer);
|
||||||
|
free(outBuffer);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user