dovecot-2.0-pigeonhole: Mailbox extension: fixed memory leak in ...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Thu Apr 8 10:14:04 EEST 2010


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/ece958a18920
changeset: 1249:ece958a18920
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu Apr 08 09:13:54 2010 +0200
description:
Mailbox extension: fixed memory leak in the mailboxexists test.

diffstat:

 src/lib-sieve/plugins/mailbox/tst-mailboxexists.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 643518d9b274 -r ece958a18920 src/lib-sieve/plugins/mailbox/tst-mailboxexists.c
--- a/src/lib-sieve/plugins/mailbox/tst-mailboxexists.c	Thu Apr 01 09:41:37 2010 +0200
+++ b/src/lib-sieve/plugins/mailbox/tst-mailboxexists.c	Thu Apr 08 09:13:54 2010 +0200
@@ -145,6 +145,7 @@
 			box = mailbox_alloc(ns->list, mailbox, 0);
 			if ( mailbox_open(box) < 0 ) {
 				all_exist = FALSE;
+				mailbox_free(&box);
 				break;
 			}
 


More information about the dovecot-cvs mailing list