summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-08-25 10:36:27 +0100
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2015-08-25 13:47:14 +0200
commit22c82c48aa5d23c49d38e3581810ea54587df61b (patch)
treec0696ff34c6aa6caf4a179cc253f4b8b5cfd1d0f
parent71ff373248dc317538d056f0cb2d2d96afdb0e94 (diff)
downloadexim4-22c82c48aa5d23c49d38e3581810ea54587df61b.tar.gz
Close logs after daemon-process exceptional write. Bug 728
(cherry picked from commit c8899c20aa08c9ae6a4c291aad23ba90512bebe4)
-rw-r--r--src/src/daemon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/daemon.c b/src/src/daemon.c
index 894a96f25..a7a49f034 100644
--- a/src/src/daemon.c
+++ b/src/src/daemon.c
@@ -735,6 +735,7 @@ else (void)close(dup_accept_socket);
/* Release any store used in this process, including the store used for holding
the incoming host address and an expanded active_hostname. */
+log_close_all();
store_reset(reset_point);
sender_host_address = NULL;
}