From 6cf0f537eb7d801d4580db1c20389ff3ed0fa6f8 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 19 Feb 2007 16:34:52 +0000 Subject: [PATCH] PAL13504 (Mesh from an imported mesh) fix memory release error --- src/SMESH_I/SMESH_Gen_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2