[dovecot-cvs] dovecot/src/imap imap-expunge.c,1.9,1.9.2.1
cras at dovecot.org
cras at dovecot.org
Sun Jun 11 19:04:59 EEST 2006
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv18341
Modified Files:
Tag: branch_1_0
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.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- imap-expunge.c 2 Feb 2006 19:37:59 -0000 1.9
+++ imap-expunge.c 11 Jun 2006 16:04:51 -0000 1.9.2.1
@@ -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