From: eap Date: Wed, 24 Jul 2013 14:46:09 +0000 (+0000) Subject: 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs X-Git-Tag: V7_3_0a1~251 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4689443745160cf22c9b71c618e9614c43df351b;p=modules%2Fsmesh.git 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs - newFaceLocations->Register(this); - newFaces->Register(this); --- diff --git a/src/SMDS/SMDS_UnstructuredGrid.cxx b/src/SMDS/SMDS_UnstructuredGrid.cxx index 6d16a9dd0..16eb2537e 100644 --- a/src/SMDS/SMDS_UnstructuredGrid.cxx +++ b/src/SMDS/SMDS_UnstructuredGrid.cxx @@ -285,8 +285,6 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector& idNodesOldToNew, int n } newFaceLocations->Squeeze(); newFaces->Squeeze(); - newFaceLocations->Register(this); - newFaces->Register(this); this->SetCells(newTypes, newLocations, newConnectivity, newFaceLocations, newFaces); newFaceLocations->Delete(); newFaces->Delete();