From 6e4feb9d64a977a570126e6c2aaf81e99080ea83 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 27 Jun 2013 15:22:33 +0000 Subject: [PATCH] Debug (detected in V7_main) --- src/MEDLoader/MEDFileField.cxx | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.2