From: eap Date: Mon, 19 Feb 2007 16:34:52 +0000 (+0000) Subject: PAL13504 (Mesh from an imported mesh) X-Git-Tag: V3_2_6a1~77 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6cf0f537eb7d801d4580db1c20389ff3ed0fa6f8;p=modules%2Fsmesh.git PAL13504 (Mesh from an imported mesh) fix memory release error --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index b0812c17e..2492eb127 100644 --- 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