Changeset 27060


Ignore:
Timestamp:
06/14/22 13:55:50 (3 years ago)
Author:
caronlam
Message:

BUG: memory management issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r27059 r27060  
    74827482        }
    74837483
    7484                 cout << "DEBUG: Sealevelchange convo:";
    74857484        xDelete<IssmDouble>(G);
    7486                 cout << " step1";
    74877485        xDelete<IssmDouble>(Grot);
    7488                 cout << ", step2";
    7489         for (int l=0;l<SLGEOM_NUMLOADS;l++) xDelete<IssmDouble>(Gsub[l]);
    7490                 cout << ", step3";
    74917486        xDelete<IssmDouble*>(Gsub);
    7492                 cout << ", step4\n";
    74937487
    74947488        return;
     
    76497643        xDelete<IssmDouble>(GNrot);
    76507644        xDelete<IssmDouble>(GErot);
    7651 
    7652         for (int l=0;l<SLGEOM_NUMLOADS;l++){
    7653                 xDelete<IssmDouble>(Gsub[l]);
    7654                 xDelete<IssmDouble>(GUsub[l]);
    7655                 xDelete<IssmDouble>(GNsub[l]);
    7656                 xDelete<IssmDouble>(GEsub[l]);
    7657         }
    76587645        xDelete<IssmDouble*>(Gsub);
    76597646        xDelete<IssmDouble*>(GUsub);
Note: See TracChangeset for help on using the changeset viewer.