Revision bcd2c5eedecf473fa6b15ebda798ce54bb3c75ea authored by René Scharfe on 04 September 2020, 17:33:55 UTC, committed by Junio C Hamano on 06 September 2020, 19:34:12 UTC
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>
1 parent f87bf28
History
File Mode Size
.gitignore -rw-r--r-- 22 bytes
Makefile -rw-r--r-- 1.7 KB
branches-- -rw-r--r-- 47 bytes
hooks--applypatch-msg.sample -rwxr-xr-x 478 bytes
hooks--commit-msg.sample -rwxr-xr-x 896 bytes
hooks--fsmonitor-watchman.sample -rwxr-xr-x 4.5 KB
hooks--post-update.sample -rwxr-xr-x 189 bytes
hooks--pre-applypatch.sample -rwxr-xr-x 424 bytes
hooks--pre-commit.sample -rwxr-xr-x 1.6 KB
hooks--pre-merge-commit.sample -rwxr-xr-x 416 bytes
hooks--pre-push.sample -rwxr-xr-x 1.3 KB
hooks--pre-rebase.sample -rwxr-xr-x 4.8 KB
hooks--pre-receive.sample -rwxr-xr-x 544 bytes
hooks--prepare-commit-msg.sample -rwxr-xr-x 1.5 KB
hooks--update.sample -rwxr-xr-x 3.5 KB
info--exclude -rw-r--r-- 240 bytes
this--description -rw-r--r-- 73 bytes

back to top