From 31a05e34cc531513dbb93b715818a38510ad8736 Mon Sep 17 00:00:00 2001 From: Maurizio Cingi Date: Mon, 21 Dec 2015 22:21:00 +0100 Subject: [PATCH] Update epanet.c --- src/epanet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epanet.c b/src/epanet.c index 5605c5b..22bec74 100755 --- a/src/epanet.c +++ b/src/epanet.c @@ -285,9 +285,9 @@ int DLLEXPORT ENclose() if (TmpOutFile != OutFile) //(2.00.12 - LR) { //(2.00.12 - LR) if (TmpOutFile != NULL) fclose(TmpOutFile); //(2.00.12 - LR) - TmpOutFile=NULL; remove(TmpFname); //(2.00.12 - LR) } //(2.00.12 - LR) + TmpOutFile=NULL; if (InFile != NULL) { fclose(InFile); InFile=NULL; } if (RptFile != NULL && RptFile != stdout) { fclose(RptFile); RptFile=NULL; }