Fix delete calls (#480)

Both allocations are made with new[].

Signed-off-by: Kévin Petit <kpet@free.fr>
This commit is contained in:
Kévin Petit
2019-11-11 17:07:25 +00:00
committed by GitHub
parent 9d3d5ca412
commit 8d9b62fcf7

View File

@@ -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;
}