[dovecot-cvs] dovecot/src/imap imap-expunge.c,1.9,1.10

cras at dovecot.org cras at dovecot.org
Fri Jun 16 12:42:42 EEST 2006


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv29942

Modified Files:
	imap-expunge.c 
Log Message:
If mailbox_search_deinit() fails, we leaked a bit of memory.



Index: imap-expunge.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-expunge.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- imap-expunge.c	2 Feb 2006 19:37:59 -0000	1.9
+++ imap-expunge.c	16 Jun 2006 09:42:38 -0000	1.10
@@ -31,7 +31,7 @@
 	mail_free(&mail);
 
 	if (mailbox_search_deinit(&ctx) < 0)
-		return FALSE;
+		failed = TRUE;
 
 	if (failed)
 		mailbox_transaction_rollback(&t);



More information about the dovecot-cvs mailing list