22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs

-      newFaceLocations->Register(this);
-      newFaces->Register(this);
This commit is contained in:
eap 2013-07-24 14:46:09 +00:00
parent 14e8376963
commit 4689443745

View File

@ -285,8 +285,6 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
}
newFaceLocations->Squeeze();
newFaces->Squeeze();
newFaceLocations->Register(this);
newFaces->Register(this);
this->SetCells(newTypes, newLocations, newConnectivity, newFaceLocations, newFaces);
newFaceLocations->Delete();
newFaces->Delete();