summaryrefslogtreecommitdiffstats
path: root/mh.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2017-02-07 19:36:43 -0800
committerKevin McCarthy <kevin@8t8.us>2017-02-07 19:36:43 -0800
commit2353e296a428806abf9cf605cacb991a8c2b4072 (patch)
treeca7b9b9e489ceadba57679548804858b9929ebd7 /mh.c
parent046fb4690154f6d5bc515ec5fb058c668953f6be (diff)
Create function to free header cache data.
Kyoto Cabinet documents that data from it should be freed via kcfree(). LMDB claims ownership of the data returned, so convert its free operation to be a noop and remove the malloc from its fetch function.
Diffstat (limited to 'mh.c')
-rw-r--r--mh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mh.c b/mh.c
index 0833b025..fe4f7ebd 100644
--- a/mh.c
+++ b/mh.c
@@ -1195,7 +1195,7 @@ static void maildir_delayed_parsing (CONTEXT * ctx, struct maildir **md,
mutt_free_header (&p->h);
#if USE_HCACHE
}
- FREE (&data);
+ mutt_hcache_free (&data);
#endif
last = p;
}