Index: ../trunk-jpl/src/c/solutionsequences/solutionsequence_thermal_nonlinear.cpp
===================================================================
--- ../trunk-jpl/src/c/solutionsequences/solutionsequence_thermal_nonlinear.cpp	(revision 18846)
+++ ../trunk-jpl/src/c/solutionsequences/solutionsequence_thermal_nonlinear.cpp	(revision 18847)
@@ -67,7 +67,10 @@
 		if(isenthalpy){ 
 			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);
 		delete tg;
