Salome HOME
cherry-pick between a669 and 19a96 of V7_main
[tools/medcoupling.git] / src / INTERP_KERNELTest / QuadraticPlanarInterpTest5.cxx
index 72c4c45a7bee229e538ac84152a82d95f6c62bad..1472341ad57e3a9581a34337e7e61e0c5edca40f 100644 (file)
@@ -1181,15 +1181,12 @@ void QuadraticPlanarInterpTest::checkIsInOrOut()
   coords[4] = (coords[0] + coords[2]) / 2.0;
   coords[5] = (coords[1] + coords[3]) / 2.0;
 
-/*  double r = 0.55495557248864675969;
-  coords[6] = coords[4];
-  coords[7] = coords[5] + r;*/
-
   int tab4[4]={ 0, 1, 2, 3};
   QuadraticPolygon *pol1=buildQuadraticPolygonCoarseInfo(coords,tab4,4);
   Node * n = new Node(0.3175267678416348, -0.4890996430954449);
 
   CPPUNIT_ASSERT(! pol1->isInOrOut(n)); // node should be out
+  n->decrRef();
   delete pol1;
 }