From: ageay Date: Tue, 23 Feb 2010 10:02:55 +0000 (+0000) Subject: Test no leaks when attaching several times. X-Git-Tag: V5_1_main_FINAL~192 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2046c1b73fccf431eee0df8ad3c11ec791969e89;p=tools%2Fmedcoupling.git Test no leaks when attaching several times. --- diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx index 8ccbd03f8..0680b02dc 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_InterpKernelDEC.cxx @@ -367,6 +367,7 @@ void ParaMEDMEMTest::testInterpKernelDEC2_2D_(const char *srcMeth, const char *t value[ielem]=1.0; dec.setMethod(srcMeth); dec.attachLocalField(mcfield); + dec.attachLocalField(mcfield); } //loading the geometry for the target group @@ -408,6 +409,7 @@ void ParaMEDMEMTest::testInterpKernelDEC2_2D_(const char *srcMeth, const char *t value[ielem]=0.0; dec.setMethod(targetMeth); dec.attachLocalField(mcfield); + dec.attachLocalField(mcfield); }