[dovecot-cvs] dovecot/src/imap cmd-append.c,1.86,1.87

tss at dovecot.org tss at dovecot.org
Thu Dec 21 16:13:19 UTC 2006


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv4308

Modified Files:
	cmd-append.c 
Log Message:
Don't crash after append.



Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- cmd-append.c	20 Dec 2006 19:23:46 -0000	1.86
+++ cmd-append.c	21 Dec 2006 16:13:17 -0000	1.87
@@ -110,6 +110,8 @@
 
 	i_assert(ctx->client->input_lock == ctx->cmd);
 
+	io_remove(&ctx->client->io);
+
 	if (ctx->input != NULL)
 		i_stream_unref(&ctx->input);
 	if (ctx->save_ctx != NULL)



More information about the dovecot-cvs mailing list