Index: /issm/trunk-jpl/src/c/solutionsequences/solutionsequence_thermal_nonlinear.cpp
===================================================================
--- /issm/trunk-jpl/src/c/solutionsequences/solutionsequence_thermal_nonlinear.cpp	(revision 18846)
+++ /issm/trunk-jpl/src/c/solutionsequences/solutionsequence_thermal_nonlinear.cpp	(revision 18847)
@@ -68,5 +68,8 @@
 			SystemMatricesx(&Kff,&Kfs,&pf,&df,NULL,femmodel);
 			/*Update old solution, such that sizes of tf_old and tf are comparable*/
-			if(isdynamicbasalspc)	Reducevectorgtofx(&tf_old, tg, femmodel->nodes,femmodel->parameters);
+			if(isdynamicbasalspc){
+				delete tf_old;
+				Reducevectorgtofx(&tf_old, tg, femmodel->nodes,femmodel->parameters);
+			}
 		}
 		else SystemMatricesx(&Kff, &Kfs, &pf,&df, &melting_offset,femmodel);
