]> 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:24:26 +0000 (13:24 +0000)
committereap <eap@opencascade.com>
Fri, 14 Dec 2012 13:24:26 +0000 (13:24 +0000)
commit413fec58c7c0131bd9eafb0c051ccf8329f09a64
tree082b34ba64faafb1f1280768aa68e34c28947a3d
parent730908a7f406fc998654bb705796d9e1b99e3861
21948: EDF SMESH : Memory is not freed when deleting a mesh

Use _id instead of _idDoc

-  _myMeshDS      = theDocument->GetMesh(_idDoc);
+  _myMeshDS      = theDocument->NewMesh(theIsEmbeddedMode,theLocalId);
src/SMESH/SMESH_Mesh.cxx