mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 14:39:01 +00:00
fix memory leak from argList and from wrong ordering of free and return statement (#1792)
This commit is contained in:
@@ -799,8 +799,8 @@ int test_kernel_required_group_size(cl_device_id deviceID, cl_context context, c
|
||||
test_error(error, "clFinish failed");
|
||||
|
||||
if (max_dimensions == 2) {
|
||||
return 0;
|
||||
free(source);
|
||||
return 0;
|
||||
}
|
||||
|
||||
local[1]--; local[2]++;
|
||||
|
||||
Reference in New Issue
Block a user