Ignore:
Timestamp:
12/07/21 12:07:33 (3 years ago)
Author:
ymipsl
Message:

Tracking memory leak :
Tranformations and algorithms are now managed with shared_ptr.

YM

File:
1 edited

Legend:

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

    r2267 r2270  
    19011901    bool hasTransform=false ; 
    19021902    bool hasRemainTransform=false ; 
    1903     CGenericAlgorithmTransformation* algo ; 
     1903    shared_ptr<CGenericAlgorithmTransformation> algo ; 
    19041904    int pos ; 
    19051905 
     
    21922192      if (!isSource) 
    21932193      { 
    2194         CGridAlgorithm* gridAlgorithm  ; 
     2194        shared_ptr<CGridAlgorithm> gridAlgorithm  ; 
    21952195        if (isNewGrid) 
    21962196        {  
Note: See TracChangeset for help on using the changeset viewer.