mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 22:19:02 +00:00
Fix delete calls (#480)
Both allocations are made with new[]. Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
@@ -194,8 +194,8 @@ int test_image_type( cl_device_id device, cl_mem_object_type imageType, cl_mem_f
|
||||
ret += test_return;
|
||||
}
|
||||
|
||||
delete filterFlags;
|
||||
delete formatList;
|
||||
delete[] filterFlags;
|
||||
delete[] formatList;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user