mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
Squashed 'phreeqcpp/' changes from 8fa568f..3b5f98c
3b5f98c No memory leaks; Still need to turn-on Fortran git-subtree-dir: phreeqcpp git-subtree-split: 3b5f98c838520da9638d08384186b2c85103ff30
This commit is contained in:
parent
322a40bb3a
commit
e902474819
@ -63,6 +63,7 @@ ofstream_open(std::ostream **os, const char *file_name, std::ios_base::openmode
|
||||
std::ofstream *ofs = new std::ofstream(file_name, mode);
|
||||
if (ofs && ofs->is_open())
|
||||
{
|
||||
safe_close(os);
|
||||
*os = ofs;
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user