mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
Fix crash (found by make installcheck)
This commit is contained in:
parent
9a4f5e4852
commit
f3171e5c4e
@ -3070,8 +3070,7 @@ CORBA::Boolean Filter_i::GetCriteria( SMESH::Filter::Criteria_out theCriteria )
|
||||
//=======================================================================
|
||||
CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria )
|
||||
{
|
||||
if ( myPredicate != 0 )
|
||||
myPredicate->UnRegister();
|
||||
SetPredicate( SMESH::Predicate::_nil() );
|
||||
|
||||
SMESH::FilterManager_i* aFilter = new SMESH::FilterManager_i();
|
||||
FilterManager_ptr aFilterMgr = aFilter->_this();
|
||||
|
Loading…
Reference in New Issue
Block a user