From: ageay Date: Thu, 27 Jun 2013 15:22:33 +0000 (+0000) Subject: Debug (detected in V7_main) X-Git-Tag: V6_7_0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6e4feb9d64a977a570126e6c2aaf81e99080ea83;p=tools%2Fmedcoupling.git Debug (detected in V7_main) --- diff --git a/src/MEDLoader/MEDFileField.cxx b/src/MEDLoader/MEDFileField.cxx index 590958004..562dbef5c 100644 --- a/src/MEDLoader/MEDFileField.cxx +++ b/src/MEDLoader/MEDFileField.cxx @@ -4821,6 +4821,7 @@ void MEDFileIntField1TSWithoutSDA::setArray(DataArray *arr) throw(INTERP_KERNEL: DataArrayInt *arrC=dynamic_cast(arr); if(!arrC) throw INTERP_KERNEL::Exception("MEDFileIntField1TSWithoutSDA::setArray : the input not null array is not of type DataArrayInt !"); + arrC->incrRef(); _arr=arrC; }