]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
mail cache: Avoid infinite loops.
authorTimo Sirainen <tss@iki.fi>
Wed, 27 Jan 2010 20:44:13 +0000 (22:44 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 27 Jan 2010 20:44:13 +0000 (22:44 +0200)
--HG--
branch : HEAD

src/lib-index/mail-cache-transaction.c

index 19f670e86d6f65f885cb05f5c3a87020b0e4fb6d..57b5e00ef3ee4bca749ed34ed576c8d5cc61acb0 100644 (file)
@@ -120,8 +120,6 @@ mail_cache_get_transaction(struct mail_cache_view *view,
 
 void mail_cache_transaction_reset(struct mail_cache_transaction_ctx *ctx)
 {
-       mail_cache_transaction_free_reservations(ctx);
-
        ctx->cache_file_seq = MAIL_CACHE_IS_UNUSABLE(ctx->cache) ? 0 :
                ctx->cache->hdr->file_seq;
        mail_index_ext_set_reset_id(ctx->trans, ctx->cache->ext_id,