Index: /issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
===================================================================
--- /issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp	(revision 17607)
+++ /issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp	(revision 17608)
@@ -1078,5 +1078,5 @@
 	element->AddInput(WatercolumnEnum,watercolumn,P1Enum);
 
-	delete pairindices;
+	xDelete<int>(pairindices);
 	xDelete<IssmDouble>(drainrate_column);
 	xDelete<IssmDouble>(drainrate_element);
@@ -1137,4 +1137,5 @@
 
 	/*Clean up and return*/
+	xDelete<int>(pairindices);
 	xDelete<IssmDouble>(xyz_list);
 	xDelete<IssmDouble>(enthalpies);
