From f5e67649bb2ba58d480c6342fcb931b54e937edb Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 4 Mar 2011 08:21:19 +0000 Subject: [PATCH] Correct delete --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2