Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6518fc4
)
IPAL0052197: TC7.3.0 "Fatal error" when try to add new filter to filter library
author
kga
<kga@opencascade.com>
Wed, 4 Dec 2013 09:36:38 +0000
(09:36 +0000)
committer
kga
<kga@opencascade.com>
Wed, 4 Dec 2013 09:36:38 +0000
(09:36 +0000)
src/SMESH_I/SMESH_Filter_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Filter_i.cxx
b/src/SMESH_I/SMESH_Filter_i.cxx
index 61d8faa5abcc63c4d7513e3fd552f574a2ca63c3..5ccc12bff946e60b75af5b70f72c15855be05fe8 100644
(file)
--- a/
src/SMESH_I/SMESH_Filter_i.cxx
+++ b/
src/SMESH_I/SMESH_Filter_i.cxx
@@
-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();
}