diff options
-rw-r--r-- | pop3d.c | 1 | ||||
-rw-r--r-- | session.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -201,7 +201,6 @@ sig_handler(int sig, short event, void *arg) case SIGHUP: case SIGTERM: imsgev_clear(&iev_pop3e); - imsgev_close(&iev_pop3e); event_loopexit(NULL); break; case SIGCHLD: @@ -22,6 +22,7 @@ #include <limits.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <syslog.h> #include <unistd.h> @@ -147,7 +148,6 @@ session_close(struct session *s, int flush) iobuf_clear(&entry->iobuf); io_clear(&entry->io); imsgev_clear(&entry->iev_maildrop); - imsgev_close(&entry->iev_maildrop); logit(LOG_INFO, "%u: session closed", entry->id); free(entry); } |