Delete local blocks after reduction

This commit is contained in:
Gunther H. Weber 2020-10-28 18:54:58 -07:00
parent 18e2938cdf
commit 336fd1f2e8

@ -899,6 +899,10 @@ VTKM_CONT void ContourTreeUniformDistributed::DoPostExecute(
<< hierarchicalTree.PrintTreeStats() << std::endl);
}); // master.foreach
// Clean-up
for (auto block : localDataBlocks)
delete block;
// 2.2 Log timings for fan out
timingsStream << " " << std::setw(38) << std::left << "Fan Out Foreach"
<< ": " << timer.GetElapsedTime() << " seconds" << std::endl;