diff options
author | René Scharfe <l.s.r@web.de> | 2020-09-04 19:33:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-06 12:34:12 -0700 |
commit | bcd2c5eedecf473fa6b15ebda798ce54bb3c75ea (patch) | |
tree | 55b9081509ef916894a7f037a22073120116546b /branch.h | |
parent | mem-pool: use consistent pool variable name (diff) | |
download | tgif-bcd2c5eedecf473fa6b15ebda798ce54bb3c75ea.tar.xz |
read-cache: fix mem-pool allocation for multi-threaded index loading
44c7e1a7e0 (mem-pool: use more standard initialization and finalization,
2020-08-15) moved the allocation of the mem-pool structure to callers.
It also added an allocation to load_cache_entries_threaded(), but for an
unrelated mem-pool. Fix that by allocating the correct one instead --
the one that is initialized two lines later.
Reported-by: Sandor Bodo-Merle <sbodomerle@gmail.com>
Signed-off-by: René Scharfe <l.s.r@web.de>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.h')
0 files changed, 0 insertions, 0 deletions