Salome HOME
Merge from V5_1_main branch 24/11/2010
[modules/smesh.git] / src / SMESH_SWIG / SMESH_BelongToGeom.py
index 02047a1cf648158016f833022995e13d43b4eed8..af6c984205dd2ab4d32c67c415f979045f06d3d0 100644 (file)
@@ -40,6 +40,7 @@ def CheckBelongToGeomFilterOld(theMeshGen, theMesh, theShape, theSubShape, theEl
     aBelongToGeom.SetElementType(theElemType)
     
     aFilter.SetPredicate(aBelongToGeom)
+    aFilterMgr.Destroy()
     return aFilter.GetElementsId(theMesh)
 
 ## Current style