diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-02-07 19:36:43 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-02-07 19:36:43 -0800 |
commit | 2353e296a428806abf9cf605cacb991a8c2b4072 (patch) | |
tree | ca7b9b9e489ceadba57679548804858b9929ebd7 /mh.c | |
parent | 046fb4690154f6d5bc515ec5fb058c668953f6be (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |