Commit 63f5f784 authored by Viktor Leonhardt's avatar Viktor Leonhardt

resolve memory leak using the fast delete function

parent 96d0856e
......@@ -115,8 +115,8 @@ int vtkHyperTreeGridToUnstructuredGrid::ProcessTrees(
break;
} // switch ( this->Dimension )
this->Points = nullptr;
this->Cells = nullptr;
this->Points->FastDelete();
this->Cells->FastDelete();
return 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment