]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
memory leak !
authorageay <ageay>
Tue, 14 Jan 2014 09:55:17 +0000 (09:55 +0000)
committerageay <ageay>
Tue, 14 Jan 2014 09:55:17 +0000 (09:55 +0000)
src/INTERP_KERNELTest/QuadraticPlanarInterpTest5.cxx

index 72c4c45a7bee229e538ac84152a82d95f6c62bad..3a1b63e24379589ee5a0e732d4b6a518e0e70702 100644 (file)
@@ -1190,6 +1190,7 @@ void QuadraticPlanarInterpTest::checkIsInOrOut()
   Node * n = new Node(0.3175267678416348, -0.4890996430954449);
 
   CPPUNIT_ASSERT(! pol1->isInOrOut(n)); // node should be out
+  n->decrRef();
   delete pol1;
 }