changeset 13248:e17f48dc9fc6

lib-index: Assert-crashfix when reading transaction log header fails with ESTALE.
author Timo Sirainen <tss@iki.fi>
date Mon, 15 Aug 2011 14:48:52 +0300
parents d2890dd972ae
children 3936152ecc03
files src/lib-index/mail-transaction-log-file.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-transaction-log-file.c	Mon Aug 15 14:48:18 2011 +0300
+++ b/src/lib-index/mail-transaction-log-file.c	Mon Aug 15 14:48:52 2011 +0300
@@ -815,6 +815,7 @@
 		}
 
 		/* ESTALE - try again */
+		buffer_free(&file->buffer);
         }
 
 	mail_transaction_log_file_add_to_list(file);