]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13504 (Mesh from an imported mesh)
authoreap <eap@opencascade.com>
Mon, 19 Feb 2007 16:34:52 +0000 (16:34 +0000)
committereap <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

index b0812c17e97a650d7cce0d9e9919faa4fb3e3228..2492eb127b28ce6dcb4bc457666ab3a7c1d3a2e4 100644 (file)
@@ -2781,7 +2781,7 @@ bool SMESH_Gen_i::Load( SALOMEDS::SComponent_ptr theComponent,
                   sm->AddElement( elem );
                 }
               }
-              delete smIDs;
+              delete [] smIDs;
             }
           }
         } // end reading submeshes