summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-08-25 10:36:27 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-08-25 10:36:27 +0100
commitc8899c20aa08c9ae6a4c291aad23ba90512bebe4 (patch)
tree4f9a724640f0806267c1ef92e24f863948501a65 /src
parentbcbf9f93310b0eb54dc3f7598cd47fe480ddecbb (diff)
Close logs after daemon-process exceptional write. Bug 728
Diffstat (limited to 'src')
-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 2d10387f6..e1ff9a16f 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;
}