From 4689443745160cf22c9b71c618e9614c43df351b Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 24 Jul 2013 14:46:09 +0000 Subject: [PATCH] 22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs - newFaceLocations->Register(this); - newFaces->Register(this); --- src/SMDS/SMDS_UnstructuredGrid.cxx | 2 -- 1 file changed, 2 deletions(-) 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(); -- 2.39.2