dovecot-2.2: dsync: Don't crash if second user initialization fa...

dovecot at dovecot.org dovecot at dovecot.org
Sun Mar 31 18:35:26 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/85e619b556ee
changeset: 16133:85e619b556ee
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Mar 31 18:35:13 2013 +0300
description:
dsync: Don't crash if second user initialization fails.

diffstat:

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

diffs (11 lines):

diff -r 0eef38d78069 -r 85e619b556ee src/doveadm/dsync/doveadm-dsync.c
--- a/src/doveadm/dsync/doveadm-dsync.c	Sun Mar 31 18:24:54 2013 +0300
+++ b/src/doveadm/dsync/doveadm-dsync.c	Sun Mar 31 18:35:13 2013 +0300
@@ -317,7 +317,6 @@
 					ctx->ctx.cur_service_user, &user2);
 	if (ret < 0) {
 		ctx->ctx.exit_code = ret == -1 ? EX_TEMPFAIL : EX_CONFIG;
-		mail_user_unref(&user2);
 		return -1;
 	}
 	user2->admin = TRUE;


More information about the dovecot-cvs mailing list