mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-14 17:48:34 +05:00
21948: EDF SMESH : Memory is not freed when deleting a mesh
void SMESHDS_SubMesh::Clear() { - myElements.clear(); - myNodes.clear(); + clearVector( myElements ); + clearVector( myNodes );
This commit is contained in:
parent
ee35ac825c
commit
06544a5936
@ -469,8 +469,8 @@ SMESHDS_SubMeshIteratorPtr SMESHDS_SubMesh::GetSubMeshIterator() const
|
||||
|
||||
void SMESHDS_SubMesh::Clear()
|
||||
{
|
||||
myElements.clear();
|
||||
myNodes.clear();
|
||||
clearVector( myElements );
|
||||
clearVector( myNodes );
|
||||
myUnusedIdNodes = 0;
|
||||
myUnusedIdElements = 0;
|
||||
SMESHDS_SubMeshIteratorPtr sub = GetSubMeshIterator();
|
||||
|
Loading…
Reference in New Issue
Block a user