dovecot-2.0-pigeonhole: LDA Sieve plugin: fixed memory leak at d...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Tue Nov 30 23:52:06 EET 2010


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/9cf0fa17a783
changeset: 1447:9cf0fa17a783
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Tue Nov 30 22:49:57 2010 +0100
description:
LDA Sieve plugin: fixed memory leak at deinitialization (patch by Timo Sirainen).

diffstat:

 src/plugins/lda-sieve/lda-sieve-plugin.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r ccbc805eb8cd -r 9cf0fa17a783 src/plugins/lda-sieve/lda-sieve-plugin.c
--- a/src/plugins/lda-sieve/lda-sieve-plugin.c	Mon Nov 22 17:03:28 2010 +0100
+++ b/src/plugins/lda-sieve/lda-sieve-plugin.c	Tue Nov 30 22:49:57 2010 +0100
@@ -774,6 +774,8 @@
 
 	} T_END;
 
+	sieve_deinit(&svinst);
+	sieve_error_handler_unref(&master_ehandler);
 	return ret; 
 }
 


More information about the dovecot-cvs mailing list