dovecot-2.1: imapc: Assert crashfix.

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 15 13:41:14 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/d5eaa0c56b1e
changeset: 13863:d5eaa0c56b1e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 15 13:40:20 2011 +0200
description:
imapc: Assert crashfix.

diffstat:

 src/lib-imap-client/imapc-connection.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 1e8523481d89 -r d5eaa0c56b1e src/lib-imap-client/imapc-connection.c
--- a/src/lib-imap-client/imapc-connection.c	Wed Dec 14 14:29:07 2011 +0200
+++ b/src/lib-imap-client/imapc-connection.c	Thu Dec 15 13:40:20 2011 +0200
@@ -271,6 +271,8 @@
 		cmd->callback(&reply, cmd->context);
 		imapc_command_free(cmd);
 	}
+	if (conn->to != NULL)
+		timeout_remove(&conn->to);
 }
 
 static void


More information about the dovecot-cvs mailing list