Index: ../trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp =================================================================== --- ../trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp (revision 17607) +++ ../trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp (revision 17608) @@ -1077,7 +1077,7 @@ /* Feed updated water column back into model */ element->AddInput(WatercolumnEnum,watercolumn,P1Enum); - delete pairindices; + xDelete(pairindices); xDelete(drainrate_column); xDelete(drainrate_element); xDelete(watercolumn); @@ -1136,6 +1136,7 @@ } /*Clean up and return*/ + xDelete(pairindices); xDelete(xyz_list); xDelete(enthalpies); xDelete(pressures);