diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-11-08 19:17:40 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-11-21 12:32:48 +0900 |
| commit | b5fcb1c006cd566b567a5249a53d3ee5a51f299a (patch) | |
| tree | 265dd06b42376c037360cd122d23436c50ae8785 /t/t6435-merge-sparse.sh | |
| parent | 03267e8656c23cf1e2d1df8204d4cee236fb0077 (diff) | |
| download | git-b5fcb1c006cd566b567a5249a53d3ee5a51f299a.tar.gz | |
read-cache.c: clear and free "sparse_checkout_patterns"
The "sparse_checkout_patterns" member was added to the "struct
index_state" in 836e25c51b2 (sparse-checkout: hold pattern list in
index, 2021-03-30), but wasn't added to discard_index(). Let's do
that.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t6435-merge-sparse.sh')
| -rwxr-xr-x | t/t6435-merge-sparse.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t6435-merge-sparse.sh b/t/t6435-merge-sparse.sh index fde4aa3cd1..78628fb248 100755 --- a/t/t6435-merge-sparse.sh +++ b/t/t6435-merge-sparse.sh @@ -3,6 +3,7 @@ test_description='merge with sparse files' TEST_CREATE_REPO_NO_TEMPLATE=1 +TEST_PASSES_SANITIZE_LEAK=true . ./test-lib.sh # test_file $filename $content |
