dovecot-sieve-1.1: Another memory leak fix for body.

dovecot at dovecot.org dovecot at dovecot.org
Fri Jul 20 10:47:19 EEST 2007


details:   http://hg.dovecot.org/dovecot-sieve-1.1/rev/7fbc683f2587
changeset: 26:7fbc683f2587
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jul 20 10:47:16 2007 +0300
description:
Another memory leak fix for body.

diffstat:

1 file changed, 1 insertion(+)
src/sieve-cmu.c |    1 +

diffs (11 lines):

diff -r c75b2da3fd3b -r 7fbc683f2587 src/sieve-cmu.c
--- a/src/sieve-cmu.c	Fri Jul 20 10:46:32 2007 +0300
+++ b/src/sieve-cmu.c	Fri Jul 20 10:47:16 2007 +0300
@@ -907,6 +907,7 @@ int cmu_sieve_run(struct mail_namespace 
 	if (array_is_created(&mdata.body_parts)) {
 		array_free(&mdata.body_parts);
 		array_free(&mdata.return_body_parts);
+		buffer_free(mdata.tmp_buffer);
 		pool_unref(mdata.body_parts_pool);
 	}
 	return ret;


More information about the dovecot-cvs mailing list