No memory leaks; Still need to turn-on Fortran

This commit is contained in:
Charlton, Scott R 2023-08-10 11:01:24 -06:00
parent 8da0b21940
commit 0cb7f62994

View File

@ -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;
}