Ignore:
Timestamp:
12/01/21 16:52:24 (3 years ago)
Author:
ymipsl
Message:

tracking memory leak
Elements, views, and connectors are now managed with shared pointer.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/io/nc4_data_output.cpp

    r2264 r2267  
    14001400              compress = latName + appendDomId + " " + lonName + appendDomId; 
    14011401      
    1402               CLocalView* workflowView = domain->getLocalView(CElementView::WORKFLOW) ; 
     1402              shared_ptr<CLocalView> workflowView = domain->getLocalView(CElementView::WORKFLOW) ; 
    14031403              workflowView->getGlobalIndexView(indexes) ; 
    14041404              nbIndexes = workflowView->getSize() ; 
     
    14351435              compress = axisId; 
    14361436 
    1437               CLocalView* workflowView = axis->getLocalView(CElementView::WORKFLOW) ; 
     1437              shared_ptr<CLocalView> workflowView = axis->getLocalView(CElementView::WORKFLOW) ; 
    14381438              workflowView->getGlobalIndexView(indexes) ; 
    14391439              nbIndexes = workflowView->getSize() ; 
Note: See TracChangeset for help on using the changeset viewer.