Fix delete calls (#481)

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:10 +00:00
committed by GitHub
parent cce8fd90b1
commit 055aa4fbbe

View File

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