Skip to content

Commit

Permalink
Merge branch 'ds/read-cache-mempool-leakfix'
Browse files Browse the repository at this point in the history
Leakfix.

* ds/read-cache-mempool-leakfix:
  read-cache: free threaded memory pool
  • Loading branch information
gitster committed Oct 4, 2024
2 parents b9b995e + 5e6f359 commit b4efdfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions read-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b4efdfe

Please sign in to comment.