diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-11-05 07:17:40 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-11-04 22:37:56 -0800 |
| commit | a53144cf1bfc5ef5b4d8b58311ea83e32e00a69f (patch) | |
| tree | 533d6214e3c1711974d7a3480cbdd5d9105be037 /diff-lib.c | |
| parent | sparse-index: correctly free EWAH contents (diff) | |
| download | git-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
