Changeset 16363 for issm/trunk-jpl/src/c/analyses/transient_core.cpp
- Timestamp:
- 10/10/13 09:55:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/transient_core.cpp
r16322 r16363 20 20 21 21 /*parameters: */ 22 int i; 22 23 IssmDouble starttime,finaltime,dt,yts; 23 24 bool isstressbalance,ismasstransport,isFS,isthermal,isgroundingline,isenthalpy,isdelta18o,isgia; … … 27 28 int meshtype,groundingline_migration; 28 29 int numoutputs = 0; 29 int *requested_outputs = NULL; 30 char** requested_outputs = NULL; 31 30 32 31 33 /*intermediary: */ … … 184 186 femmodel->RequestedDependentsx(); 185 187 186 /*Free ressources:*/ 187 xDelete<int>(requested_outputs);188 /*Free ressources:*/ 189 if(numoutputs){ for (i=0;i<numoutputs;i++){char* string=requested_outputs[i];xDelete<char>(string);} xDelete<char*>(requested_outputs);} 188 190 }
Note:
See TracChangeset
for help on using the changeset viewer.