changeset 25 | ce31cbe9193a |
parent 23 | a65ab8b73e52 |
child 26 | b20d78c55e91 |
--- a/session.c Fri May 02 19:17:38 2014 +0500 +++ b/session.c Wed May 28 16:37:41 2014 +0500 @@ -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 @@ 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); }