summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index cacaa2a..025105e 100644
--- a/session.c
+++ b/session.c
@@ -145,8 +145,8 @@ session_close(struct session *s, int flush)
iobuf_flush(&entry->iobuf, entry->io.sock);
}
- iobuf_clear(&entry->iobuf);
io_clear(&entry->io);
+ iobuf_clear(&entry->iobuf);
imsgev_clear(&entry->iev_maildrop);
logit(LOG_INFO, "%u: session closed", entry->id);
free(entry);