diff src/imap/cmd-append.c @ 4956:8fd9913adad8 HEAD

Don't crash after append.
author Timo Sirainen <tss@iki.fi>
date Thu, 21 Dec 2006 18:13:17 +0200
parents ff2272c228cc
children ce804b173797
line wrap: on
line diff
--- a/src/imap/cmd-append.c	Thu Dec 21 18:01:15 2006 +0200
+++ b/src/imap/cmd-append.c	Thu Dec 21 18:13:17 2006 +0200
@@ -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)