From 92bf61e87a430875b01d9fc3621521fe6fc88f60 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 19 May 2009 10:35:01 +0000 Subject: [PATCH] *** empty log message *** --- src/INTERP_KERNEL/Interpolation3D.txx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.2