Changeset 17608


Ignore:
Timestamp:
03/31/14 16:02:42 (11 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed some memory leaks/delete problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp

    r17600 r17608  
    10781078        element->AddInput(WatercolumnEnum,watercolumn,P1Enum);
    10791079
    1080         delete pairindices;
     1080        xDelete<int>(pairindices);
    10811081        xDelete<IssmDouble>(drainrate_column);
    10821082        xDelete<IssmDouble>(drainrate_element);
     
    11371137
    11381138        /*Clean up and return*/
     1139        xDelete<int>(pairindices);
    11391140        xDelete<IssmDouble>(xyz_list);
    11401141        xDelete<IssmDouble>(enthalpies);
Note: See TracChangeset for help on using the changeset viewer.