From: ageay Date: Tue, 19 May 2009 10:35:01 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_main_FINAL~391 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=92bf61e87a430875b01d9fc3621521fe6fc88f60;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/INTERP_KERNEL/Interpolation3D.txx b/src/INTERP_KERNEL/Interpolation3D.txx index 88478ea4e..d24cbdc8a 100644 --- a/src/INTERP_KERNEL/Interpolation3D.txx +++ b/src/INTERP_KERNEL/Interpolation3D.txx @@ -272,9 +272,6 @@ namespace INTERP_KERNEL BBTree<3,ConnType> tree(bboxes, srcElemIdx, 0, numSrcElems); - delete [] bboxes; - delete [] srcElemIdx; - // for each target element, get source elements with which to calculate intersection // - calculate intersection by calling intersectCells for(unsigned long i = 0; i < numTargetElems; ++i) @@ -297,6 +294,9 @@ namespace INTERP_KERNEL intersector->intersectCells(targetIdx,intersectElems,result); } + + delete [] bboxes; + delete [] srcElemIdx; #endif // free allocated memory