]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
authoreap <eap@opencascade.com>
Wed, 24 Jul 2013 14:46:09 +0000 (14:46 +0000)
committereap <eap@opencascade.com>
Wed, 24 Jul 2013 14:46:09 +0000 (14:46 +0000)
-      newFaceLocations->Register(this);
-      newFaces->Register(this);

src/SMDS/SMDS_UnstructuredGrid.cxx

index 6d16a9dd03b37665df49c6c5a1e8924f5a806795..16eb2537e7e08ed230422fae528e3e348073df57 100644 (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();