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:
4d51ac9
)
PAL13504 (Mesh from an imported mesh)
author
eap
<eap@opencascade.com>
Mon, 19 Feb 2007 16:34:52 +0000
(16:34 +0000)
committer
eap
<eap@opencascade.com>
Mon, 19 Feb 2007 16:34:52 +0000
(16:34 +0000)
fix memory release error
src/SMESH_I/SMESH_Gen_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Gen_i.cxx
b/src/SMESH_I/SMESH_Gen_i.cxx
index b0812c17e97a650d7cce0d9e9919faa4fb3e3228..2492eb127b28ce6dcb4bc457666ab3a7c1d3a2e4 100644
(file)
--- a/
src/SMESH_I/SMESH_Gen_i.cxx
+++ b/
src/SMESH_I/SMESH_Gen_i.cxx
@@
-2781,7
+2781,7
@@
bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
sm->AddElement( elem );
}
}
- delete smIDs;
+ delete
[]
smIDs;
}
}
} // end reading submeshes