IPAL0052197: TC7.3.0 "Fatal error" when try to add new filter to filter library

This commit is contained in:
kga 2013-12-04 09:36:38 +00:00
parent 6518fc4882
commit d280b47f5f

View File

@ -3067,8 +3067,8 @@ CORBA::Boolean Filter_i::SetCriteria( const SMESH::Filter::Criteria& theCriteria
}
SetPredicate( aResPredicate );
aResPredicate->UnRegister();
if ( !aResPredicate->_is_nil() )
aResPredicate->UnRegister();
return !aResPredicate->_is_nil();
}