diff --git a/src/inpfile.c b/src/inpfile.c index 59f09d0..8ce02dc 100644 --- a/src/inpfile.c +++ b/src/inpfile.c @@ -7,7 +7,7 @@ Description: saves network data to an EPANET formatted text file Authors: see AUTHORS Copyright: see AUTHORS License: see LICENSE -Last Updated: 03/08/2019 +Last Updated: 03/09/2019 ****************************************************************************** */ @@ -113,6 +113,7 @@ void saveauxdata(Project *pr, FILE *f) } } fclose(InFile); + InFile = NULL; } int saveinpfile(Project *pr, const char *fname)