mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
Clean up initial_data
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@8369 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
4ec2784a6b
commit
e9b05399a5
@ -75,12 +75,14 @@ class cxxSolution:public cxxNumKeyword
|
||||
}
|
||||
void Create_initial_data()
|
||||
{
|
||||
delete initial_data;
|
||||
if (this->initial_data != NULL)
|
||||
delete initial_data;
|
||||
initial_data = new cxxISolution;
|
||||
}
|
||||
void Destroy_initial_data()
|
||||
{
|
||||
delete initial_data;
|
||||
if (this->initial_data != NULL)
|
||||
delete initial_data;
|
||||
initial_data = NULL;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user