diff options
author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2014-08-23 19:07:15 +0500 |
---|---|---|
committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2014-08-23 19:07:15 +0500 |
commit | 3d1c9e91db3ff5929436ef93e0e5a5ed45687e79 (patch) | |
tree | 6896b836a795e7a240ef057f191c756a07dd5fd5 | |
parent | f1447e0e75a4ccf9ad6c8802b13f12f8a0f901b8 (diff) |
First clear io then iobuf.
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |