dovecot: Crashfix in some conditions
dovecot at dovecot.org
dovecot at dovecot.org
Tue Sep 25 17:51:51 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/4cb03870a714
changeset: 6499:4cb03870a714
user: Timo Sirainen <tss at iki.fi>
date: Tue Sep 25 17:51:47 2007 +0300
description:
Crashfix in some conditions
diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
src/imap/cmd-idle.c | 3 ++-
diffs (13 lines):
diff -r 67668832dd6c -r 4cb03870a714 src/imap/cmd-idle.c
--- a/src/imap/cmd-idle.c Tue Sep 25 17:50:26 2007 +0300
+++ b/src/imap/cmd-idle.c Tue Sep 25 17:51:47 2007 +0300
@@ -41,7 +41,8 @@ idle_finish(struct cmd_idle_context *ctx
}
o_stream_cork(client->output);
- io_remove(&client->io);
+ if (client->io != NULL)
+ io_remove(&client->io);
if (client->mailbox != NULL)
mailbox_notify_changes_stop(client->mailbox);
More information about the dovecot-cvs
mailing list