[exim-cvs] Close dangling file. Bug 1379

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] Close dangling file. Bug 1379
Gitweb: http://git.exim.org/exim.git/commitdiff/e0eb00cd78f2dbf91aba5dffa579177b1e1815a1
Commit:     e0eb00cd78f2dbf91aba5dffa579177b1e1815a1
Parent:     de11307f4085222c29051e5b8149ea3340707f26
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Dec 14 22:41:31 2014 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Jan 12 18:58:35 2015 +0000


    Close dangling file.  Bug 1379
---
 src/src/transports/autoreply.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/src/src/transports/autoreply.c b/src/src/transports/autoreply.c
index 4e391b8..a90a685 100644
--- a/src/src/transports/autoreply.c
+++ b/src/src/transports/autoreply.c
@@ -676,6 +676,7 @@ if (ff != NULL)
       }
     else fprintf(f, "%s", CS big_buffer);
     }
+  (void) fclose(ff);
   }


/* Copy the original message if required, observing the return size