Added memory release statements.
This commit is contained in:
parent
95c685dbe7
commit
10ab1af013
1 changed files with 7 additions and 0 deletions
|
|
@ -169,6 +169,13 @@ int main(int argc, char** argv) {
|
|||
printf("Kc[0] = %g\n", kc[0]);
|
||||
printf("Kc[1] = %g\n", kc[1]);
|
||||
|
||||
|
||||
delete(iKin_ptr);
|
||||
iKin_ptr = 0;
|
||||
delete(gasTP);
|
||||
delete(xc);
|
||||
appdelete();
|
||||
|
||||
|
||||
}
|
||||
catch (CanteraError) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue