diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-07-01 10:37:32 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-01 20:38:49 (GMT) |
commit | 330ca8501b6b4cb7afec20dc0b9513542118e9de (patch) | |
tree | ccb23255977c428a8a7f81330c13d7702a23804a /t/t5309-pack-delta-cycles.sh | |
parent | e4a4b31577c7419497ac30cebe30d755b97752c5 (diff) | |
download | git-330ca8501b6b4cb7afec20dc0b9513542118e9de.zip git-330ca8501b6b4cb7afec20dc0b9513542118e9de.tar.gz git-330ca8501b6b4cb7afec20dc0b9513542118e9de.tar.bz2 |
test-tool test-hash: fix a memory leak
Fix a memory leak in "test-tool test-hash" which has been there since
b57cbbf8a86 (test-sha1: test hashing large buffer, 2006-06-24), as a
result we can mark more tests as passing with SANITIZE=leak using
"TEST_PASSES_SANITIZE_LEAK=true".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5309-pack-delta-cycles.sh')
-rwxr-xr-x | t/t5309-pack-delta-cycles.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t5309-pack-delta-cycles.sh b/t/t5309-pack-delta-cycles.sh index 55b7876..4e910c5 100755 --- a/t/t5309-pack-delta-cycles.sh +++ b/t/t5309-pack-delta-cycles.sh @@ -1,6 +1,8 @@ #!/bin/sh test_description='test index-pack handling of delta cycles in packfiles' + +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh . "$TEST_DIRECTORY"/lib-pack.sh |