dovecot-sieve-1.1: Memory leak fix with body extension.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jul 20 10:46:34 EEST 2007
details: http://hg.dovecot.org/dovecot-sieve-1.1/rev/c75b2da3fd3b
changeset: 25:c75b2da3fd3b
user: Timo Sirainen <tss at iki.fi>
date: Fri Jul 20 10:46:32 2007 +0300
description:
Memory leak fix with body extension.
diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
src/sieve-cmu.c | 5 +++--
diffs (16 lines):
diff -r 09f894d3cc84 -r c75b2da3fd3b src/sieve-cmu.c
--- a/src/sieve-cmu.c Fri Jul 20 10:33:08 2007 +0300
+++ b/src/sieve-cmu.c Fri Jul 20 10:46:32 2007 +0300
@@ -904,9 +904,10 @@ int cmu_sieve_run(struct mail_namespace
ret = -1;
}
- if (array_is_created(&mdata.body_parts))
+ if (array_is_created(&mdata.body_parts)) {
array_free(&mdata.body_parts);
- if (mdata.body_parts_pool != NULL)
+ array_free(&mdata.return_body_parts);
pool_unref(mdata.body_parts_pool);
+ }
return ret;
}
More information about the dovecot-cvs
mailing list