dovecot-2.0: doveadm: Memory leak fix.

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 28 17:50:44 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/f7cb34c45864
changeset: 12626:f7cb34c45864
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 28 17:50:41 2011 +0200
description:
doveadm: Memory leak fix.

diffstat:

 src/doveadm/doveadm-mail.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 946d1cd3300b -r f7cb34c45864 src/doveadm/doveadm-mail.c
--- a/src/doveadm/doveadm-mail.c	Mon Feb 28 17:34:24 2011 +0200
+++ b/src/doveadm/doveadm-mail.c	Mon Feb 28 17:50:41 2011 +0200
@@ -426,6 +426,9 @@
 
 	if (ctx->failed)
 		exit(FATAL_DEFAULT);
+	if (ctx->search_args != NULL)
+		mail_search_args_unref(&ctx->search_args);
+	pool_unref(&ctx->pool);
 }
 
 static bool


More information about the dovecot-cvs mailing list