From: Kevin McCarthy Date: Tue, 23 May 2017 01:25:08 +0000 (-0700) Subject: merge stable X-Git-Tag: mutt-1-9-rel~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64dd3fd23418b3f0744ef27980595240bf8a34be;p=mutt merge stable --- 64dd3fd23418b3f0744ef27980595240bf8a34be diff --cc imap/imap.c index 5d6f6a2b,7b1060a9..67b2c4ce --- a/imap/imap.c +++ b/imap/imap.c @@@ -1406,21 -1418,7 +1427,9 @@@ int imap_close_mailbox (CONTEXT* ctx /* mailbox may not have fully loaded */ if (ctx->hdrs[i] && ctx->hdrs[i]->data) imap_free_header_data ((IMAP_HEADER_DATA**)&(ctx->hdrs[i]->data)); - hash_destroy (&idata->uid_hash, NULL); + FREE (&idata->msn_index); + idata->msn_index_size = 0; - for (i = 0; i < IMAP_CACHE_LEN; i++) - { - if (idata->cache[i].path) - { - unlink (idata->cache[i].path); - FREE (&idata->cache[i].path); - } - } - - mutt_bcache_close (&idata->bcache); - return 0; }