dovecot-2.2: quota-status: If quota_status_* settings are set, d...
dovecot at dovecot.org
dovecot at dovecot.org
Wed May 15 14:28:14 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/03aac782261e
changeset: 16360:03aac782261e
user: Timo Sirainen <tss at iki.fi>
date: Wed May 15 14:28:04 2013 +0300
description:
quota-status: If quota_status_* settings are set, don't free them before using.
diffstat:
src/plugins/quota/quota-status.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 07bc030f18d3 -r 03aac782261e src/plugins/quota/quota-status.c
--- a/src/plugins/quota/quota-status.c Wed May 15 13:44:01 2013 +0300
+++ b/src/plugins/quota/quota-status.c Wed May 15 14:28:04 2013 +0300
@@ -109,6 +109,7 @@
if (value == NULL)
value = t_strdup_printf("554 5.2.2 %s\n\n", error);
}
+ value = t_strdup(value); /* user's pool is being freed */
mail_user_unref(&user);
mail_storage_service_user_free(&service_user);
}
More information about the dovecot-cvs
mailing list