dovecot-2.1: imapc: Fixed memory leak when copying messages.

dovecot at dovecot.org dovecot at dovecot.org
Sun May 26 21:45:38 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.1/rev/c0c5dac8ff48
changeset: 14969:c0c5dac8ff48
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 26 21:45:33 2013 +0300
description:
imapc: Fixed memory leak when copying messages.

diffstat:

 src/lib-storage/index/imapc/imapc-save.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 4c05b9447a10 -r c0c5dac8ff48 src/lib-storage/index/imapc/imapc-save.c
--- a/src/lib-storage/index/imapc/imapc-save.c	Mon May 20 01:52:25 2013 +0300
+++ b/src/lib-storage/index/imapc/imapc-save.c	Sun May 26 21:45:33 2013 +0300
@@ -420,6 +420,7 @@
 		while (sctx.ret == -2)
 			imapc_storage_run(src_mbox->storage);
 		ctx->finished = TRUE;
+		index_save_context_free(_ctx);
 		return sctx.ret;
 	}
 	return mail_storage_copy(_ctx, mail);


More information about the dovecot-cvs mailing list