]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-index: Assert-crashfix when reading transaction log header fails with ESTALE.
authorTimo Sirainen <tss@iki.fi>
Mon, 15 Aug 2011 11:48:52 +0000 (14:48 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 15 Aug 2011 11:48:52 +0000 (14:48 +0300)
src/lib-index/mail-transaction-log-file.c

index 2e363c8dded18fc2111f6d4f702fb8d9d316ab99..e26a0db71dcb49894412d571b6cb991c508c592b 100644 (file)
@@ -815,6 +815,7 @@ int mail_transaction_log_file_open(struct mail_transaction_log_file *file,
                }
 
                /* ESTALE - try again */
+               buffer_free(&file->buffer);
         }
 
        mail_transaction_log_file_add_to_list(file);