diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-10-04 19:14:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-10-04 19:14:07 +0200 |
commit | b4efdfe16555f989eb977f77142a0c60571be34b (patch) | |
tree | fc301952bb65f242a7d60df8c422e8c769a2cf1b /read-cache.c | |
parent | Merge branch 'jc/doc-discarding-stalled-topics' (diff) | |
parent | read-cache: free threaded memory pool (diff) | |
download | git-b4efdfe16555f989eb977f77142a0c60571be34b.tar.xz git-b4efdfe16555f989eb977f77142a0c60571be34b.zip |
Merge branch 'ds/read-cache-mempool-leakfix'
Leakfix.
* ds/read-cache-mempool-leakfix:
read-cache: free threaded memory pool
Diffstat (limited to 'read-cache.c')
-rw-r--r-- | read-cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/read-cache.c b/read-cache.c index 764fdfec46..3c078afadb 100644 --- a/read-cache.c +++ b/read-cache.c @@ -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; } |