]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
21948: EDF SMESH : Memory is not freed when deleting a mesh
authoreap <eap@opencascade.com>
Fri, 14 Dec 2012 13:08:08 +0000 (13:08 +0000)
committereap <eap@opencascade.com>
Fri, 14 Dec 2012 13:08:08 +0000 (13:08 +0000)
commit6bb8dd97b813b0c35f897f4c6b2ae14fb1533f14
tree9a942c3963cf12e7d98476ec0bd10e492c73fbc1
parent585362053b8eebfe19f15628a7ee785a3e788526
21948: EDF SMESH : Memory is not freed when deleting a mesh

fix leaks of cellLinks

void SMDS_MeshNode::init()
{
-  if (myVtkID >= cellLinks->GetLinksSize())
-          cellLinks->ResizeL(myVtkID+SMDS_Mesh::chunkSize);
+  cellLinks->ResizeForPoint( myVtkID );
src/SMDS/SMDS_MeshNode.cxx