Skip to content
Snippets Groups Projects
Commit 964233cb authored by Florian Fischer's avatar Florian Fischer
Browse files

[SimpleLawsTest] match new[] with delete[] instead of free

gcc 11.1 on my arch system complains that the calls to free
does not match the allocator function new[].
parent b8e2983f
No related branches found
No related tags found
No related merge requests found
Pipeline #62659 passed
...@@ -99,8 +99,8 @@ static void alphaFun() { ...@@ -99,8 +99,8 @@ static void alphaFun() {
} }
cps.wait(); cps.wait();
free(fiberData); delete[] fiberData;
free(affinities); delete[] affinities;
std::cerr << "Result: " << finalResult << std::endl; std::cerr << "Result: " << finalResult << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment