]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Correct delete
authorgdd <gdd>
Fri, 4 Mar 2011 08:21:19 +0000 (08:21 +0000)
committergdd <gdd>
Fri, 4 Mar 2011 08:21:19 +0000 (08:21 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index cb5ec5cb292b4af31bfeebce270a180d7329dcc6..fd2940fcdd2a684c8d7b42d71a949e75fbb847e7 100644 (file)
@@ -1466,7 +1466,7 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape)
       if ( SMESH_subMesh* sm = aMesh.GetSubMeshContaining( emap( i )))
         sm->SetIsAlwaysComputed( true );
 
-  delete nodes;
+  delete [] nodes;
 
   /* release the mesh object */
   blsurf_data_regain_mesh(bls, msh);