From: gdd Date: Fri, 4 Mar 2011 08:21:19 +0000 (+0000) Subject: Correct delete X-Git-Tag: Start_BR_19998_21191~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f5e67649bb2ba58d480c6342fcb931b54e937edb;p=plugins%2Fblsurfplugin.git Correct delete --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index cb5ec5c..fd2940f 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -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);