mirror of
https://github.com/git/git.git
synced 2024-11-27 03:53:55 +08:00
Merge branch 'ds/read-cache-mempool-leakfix'
Leakfix. * ds/read-cache-mempool-leakfix: read-cache: free threaded memory pool
This commit is contained in:
commit
b4efdfe165
@ -2188,6 +2188,7 @@ static unsigned long load_cache_entries_threaded(struct index_state *istate, con
|
||||
if (err)
|
||||
die(_("unable to join load_cache_entries thread: %s"), strerror(err));
|
||||
mem_pool_combine(istate->ce_mem_pool, p->ce_mem_pool);
|
||||
free(p->ce_mem_pool);
|
||||
consumed += p->consumed;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user