From: eap Date: Fri, 14 Dec 2012 13:34:18 +0000 (+0000) Subject: 21948: EDF SMESH : Memory is not freed when deleting a mesh X-Git-Tag: pluginMGCleaner~256 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09a87fd9f250aaec62bedd6ba368aae5b7741d37;p=modules%2Fsmesh.git 21948: EDF SMESH : Memory is not freed when deleting a mesh + static bool IsTemporaryIDSource( SMESH::SMESH_IDSource_ptr& idSource ); --- diff --git a/src/SMESH_I/SMESH_MeshEditor_i.hxx b/src/SMESH_I/SMESH_MeshEditor_i.hxx index a6a0e3c44..d3295821d 100644 --- a/src/SMESH_I/SMESH_MeshEditor_i.hxx +++ b/src/SMESH_I/SMESH_MeshEditor_i.hxx @@ -84,6 +84,7 @@ public: */ SMESH::SMESH_IDSource_ptr MakeIDSource(const SMESH::long_array& IDsOfElements, SMESH::ElementType type); + static bool IsTemporaryIDSource( SMESH::SMESH_IDSource_ptr& idSource ); CORBA::Boolean RemoveElements(const SMESH::long_array & IDsOfElements); CORBA::Boolean RemoveNodes(const SMESH::long_array & IDsOfNodes); CORBA::Long RemoveOrphanNodes();