Salome HOME
projects
/
modules
/
med.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a229a1
)
0023453: [CEA 2130] MED module crashes on FD24 with SALOME 8.3.0
author
akl
<akl@opencascade.com>
Mon, 19 Jun 2017 13:52:00 +0000
(16:52 +0300)
committer
akl
<akl@opencascade.com>
Mon, 19 Jun 2017 13:52:00 +0000
(16:52 +0300)
src/MEDCalc/cmp/MEDPresentationManager_i.cxx
patch
|
blob
|
history
diff --git
a/src/MEDCalc/cmp/MEDPresentationManager_i.cxx
b/src/MEDCalc/cmp/MEDPresentationManager_i.cxx
index 6317ed3e44952dbcb99300aaa5add7b6fb89ee72..134ada1b5904a32ed49c12e1ed6208c27e63c3e8 100644
(file)
--- a/
src/MEDCalc/cmp/MEDPresentationManager_i.cxx
+++ b/
src/MEDCalc/cmp/MEDPresentationManager_i.cxx
@@
-94,7
+94,7
@@
MEDPresentationManager_i::getPresentationStringProperty(MEDPresentation::TypeID
{
MEDPresentation* pres = _getPresentation(presentationID);
if (pres) {
- return
(char*) pres->getStringProperty(propName).c_str(
);
+ return
CORBA::string_dup(pres->getStringProperty(propName).c_str()
);
}
else
throw KERNEL::createSalomeException("getPresentationStringProperty(): presentation not found!!");