Salome HOME
[EDF10723] - MEDFileUMesh::linearToQuadratic and MEDFileUMesh::quadraticToLinear
[tools/medcoupling.git] / src / INTERP_KERNELTest / UnitTetra3D2DIntersectionTest.cxx
index 366d40ca67df25e9417fe3026c82c6e1d939e8f5..031becc048c642efe19ab3a721a0d753f14edfae 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -74,7 +74,7 @@ namespace INTERP_TEST
                                                       precision,
                                                       listOfTetraFacesTreated,
                                                       listOfTetraFacesColinear);
-
+    delete targetTetra;
     CPPUNIT_ASSERT_DOUBLES_EQUAL(40.,surface,precision);
 
     CPPUNIT_ASSERT_EQUAL(4,(int)listOfTetraFacesTreated.size());
@@ -120,7 +120,7 @@ namespace INTERP_TEST
                                                       precision,
                                                       listOfTetraFacesTreated,
                                                       listOfTetraFacesColinear);
-
+    delete targetTetra;
     CPPUNIT_ASSERT_DOUBLES_EQUAL(40.,surface,precision);
 
     CPPUNIT_ASSERT_EQUAL(4,(int)listOfTetraFacesTreated.size());
@@ -165,7 +165,7 @@ namespace INTERP_TEST
                                                       precision,
                                                       listOfTetraFacesTreated,
                                                       listOfTetraFacesColinear);
-
+    delete targetTetra;
     CPPUNIT_ASSERT_DOUBLES_EQUAL(2.5,surface,precision);
 
     CPPUNIT_ASSERT_EQUAL(0,(int)listOfTetraFacesTreated.size());