summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--imap/ChangeLog6
-rw-r--r--imap/configure.ac2
-rw-r--r--imap/imapd.c10
3 files changed, 7 insertions, 11 deletions
diff --git a/imap/ChangeLog b/imap/ChangeLog
index a7e269b..84296b4 100644
--- a/imap/ChangeLog
+++ b/imap/ChangeLog
@@ -1,3 +1,9 @@
+5.1.4
+
+2021-08-01 Sam Varshavchik <mrsam@courier-mta.com>
+
+ * imapd.c (bye): Just call exit(), we may be in an inconstent state.
+
2021-06-15 Sam Varshavchik <mrsam@courier-mta.com>
* pop3login: use unbuffered reads, handle our own buffering.
diff --git a/imap/configure.ac b/imap/configure.ac
index 576ff26..d8c4a3b 100644
--- a/imap/configure.ac
+++ b/imap/configure.ac
@@ -4,7 +4,7 @@ dnl
dnl Copyright 1998 - 2021 Double Precision, Inc. See COPYING for
dnl distribution information.
-AC_INIT(courier-imap, 5.1.3.20210615, [courier-users@lists.sourceforge.net])
+AC_INIT(courier-imap, 5.1.4, [courier-users@lists.sourceforge.net])
>confdefs.h # Kill PACKAGE_ macros
diff --git a/imap/imapd.c b/imap/imapd.c
index 8c2723b..55e17ab 100644
--- a/imap/imapd.c
+++ b/imap/imapd.c
@@ -2414,16 +2414,6 @@ static void logoutmsg()
void bye()
{
- if (current_temp_fd >= 0)
- close(current_temp_fd);
- if (current_temp_fn)
- unlink(current_temp_fn);
-
- if (current_mailbox)
- free(current_mailbox);
- imapscan_free(&current_maildir_info);
- maildirwatch_cleanup();
- fetch_free_cached();
exit(0);
}