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