Ignore:
Timestamp:
12/09/21 12:28:20 (3 years ago)
Author:
ymipsl
Message:

Tracking memory leak : release memory statically alocated

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/node/scalar.cpp

    r2267 r2274  
    3232  { /* Ne rien faire de plus */ } 
    3333 
     34  void CScalar::releaseStaticAllocation(void) 
     35  { 
     36    transformationMapList_.clear() ; 
     37    CTransformation<CScalar>::unregisterAllTransformations() ; 
     38    CGridTransformationFactory<CScalar>::unregisterAllTransformations() ; 
     39  } 
     40   
    3441  std::map<StdString, ETranformationType> CScalar::transformationMapList_ = std::map<StdString, ETranformationType>(); 
    3542  bool CScalar::dummyTransformationMapList_ = CScalar::initializeTransformationMap(CScalar::transformationMapList_); 
Note: See TracChangeset for help on using the changeset viewer.