From: ageay Date: Thu, 4 Apr 2013 12:25:35 +0000 (+0000) Subject: Put DataArray destructor protected. X-Git-Tag: V6_main_FINAL~208 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b0112bc93423c4cc06d41a03c6f5b175ba8e2797;p=tools%2Fmedcoupling.git Put DataArray destructor protected. --- diff --git a/src/MEDCoupling_Swig/MEDCouplingCommon.i b/src/MEDCoupling_Swig/MEDCouplingCommon.i index 276d13b83..5bac101bd 100644 --- a/src/MEDCoupling_Swig/MEDCouplingCommon.i +++ b/src/MEDCoupling_Swig/MEDCouplingCommon.i @@ -374,6 +374,7 @@ using namespace INTERP_KERNEL; %newobject ParaMEDMEM::MEDCouplingMultiFields::deepCpy; %newobject ParaMEDMEM::MEDCouplingFieldOverTime::New; +%feature("unref") DataArray "$this->decrRef();" %feature("unref") DataArrayDouble "$this->decrRef();" %feature("unref") MEDCouplingPointSet "$this->decrRef();" %feature("unref") MEDCouplingMesh "$this->decrRef();"