]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Debug (detected in V7_main)
authorageay <ageay>
Thu, 27 Jun 2013 15:22:33 +0000 (15:22 +0000)
committerageay <ageay>
Thu, 27 Jun 2013 15:22:33 +0000 (15:22 +0000)
src/MEDLoader/MEDFileField.cxx

index 59095800406c2099a3abb9ddc245f635bc27f3f2..562dbef5c579da13ec994a45d9668adde9d01254 100644 (file)
@@ -4821,6 +4821,7 @@ void MEDFileIntField1TSWithoutSDA::setArray(DataArray *arr) throw(INTERP_KERNEL:
   DataArrayInt *arrC=dynamic_cast<DataArrayInt *>(arr);
   if(!arrC)
     throw INTERP_KERNEL::Exception("MEDFileIntField1TSWithoutSDA::setArray : the input not null array is not of type DataArrayInt !");
+  arrC->incrRef();
   _arr=arrC;
 }