aboutsummaryrefslogtreecommitdiffstats
path: root/diff-lib.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-05 07:17:40 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-04 22:37:56 -0800
commita53144cf1bfc5ef5b4d8b58311ea83e32e00a69f (patch)
tree533d6214e3c1711974d7a3480cbdd5d9105be037 /diff-lib.c
parentsparse-index: correctly free EWAH contents (diff)
downloadgit-a53144cf1bfc5ef5b4d8b58311ea83e32e00a69f.tar.gz
git-a53144cf1bfc5ef5b4d8b58311ea83e32e00a69f.zip
t/helper: stop re-initialization of `the_repository`
While "common-main.c" already initializes `the_repository` for us, we do so a second time in the "read-cache" test helper. This causes a memory leak because the old repository's contents isn't released. Stop calling `initialize_repository()` to plug this leak. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions