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:
465e5be
)
Memory leak hunting
author
Anthony Geay
<anthony.geay@edf.fr>
Tue, 17 Aug 2021 08:25:20 +0000
(10:25 +0200)
committer
Anthony Geay
<anthony.geay@edf.fr>
Tue, 17 Aug 2021 08:25:20 +0000
(10:25 +0200)
src/SMESH_I/SMESH_Gen_i_1.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i_1.cxx
b/src/SMESH_I/SMESH_Gen_i_1.cxx
index 3f463f1f5db14e3db37ee9c46ff2f3e33dace6aa..565fa023b9dba96b1315eda8f794869858892e1e 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i_1.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i_1.cxx
@@
-561,7
+561,8
@@
SALOMEDS::SComponent_ptr SMESH_Gen_i::PublishComponent()
SALOMEDS::SComponent_wrap f_i = citer->Value();
CORBA::String_var ior_i;
bool ok = f_i->ComponentIOR(ior_i.out());
- if ( ok && compDataType == f_i->ComponentDataType() && ior == ior_i.in()) {
+ CORBA::String_var cdt(f_i->ComponentDataType());
+ if ( ok && compDataType == cdt.in() && ior == ior_i.in()) {
father = f_i;
break;
}