Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue 0020472: An error in SALOMEDSImpl_Tool::Exists
[modules/kernel.git]
/
src
/
SALOMEDSImpl
/
SALOMEDSImpl_AttributeStudyProperties.cxx
diff --git
a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx
b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx
index d15a29561d2caf6f8b40872814124e911fc90856..d0a564c8907a96dd6e7fcc91fad33f20450015fe 100644
(file)
--- a/
src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx
+++ b/
src/SALOMEDSImpl/SALOMEDSImpl_AttributeStudyProperties.cxx
@@
-307,7
+307,7
@@
void SALOMEDSImpl_AttributeStudyProperties::Load(const string& value)
strncpy(aName, &(aCopy[anIndex]), aNameSize);
aName[aNameSize] = 0;
SetModification(aName,aMinute,aHour,aDay,aMonth,aYear);
- delete(aName);
+ delete
[]
(aName);
anIndex += aNameSize + 1;
}
if (aCopy[1] == 'l') {