Ævar Arnfjörð Bjarmason 272f0a574d ls-files: add missing string_list_clear()
Fix a memory leak that's been here ever since 72aeb18772d (clean.c,
ls-files.c: respect encapsulation of exclude_list_groups, 2013-01-16),
we dup'd the argument in option_parse_exclude(), but never freed the
string_list.

This makes almost all of t3001-ls-files-others-exclude.sh pass (it had
a lot of failures before). Let's mark it as passing with
TEST_PASSES_SANITIZE_LEAK=true, and then exclude the tests that still
failed with a !SANITIZE_LEAK prerequisite check until we fix those
leaks. We can still see the failed tests under
GIT_TEST_FAIL_PREREQS=true.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-10-07 15:40:15 -07:00
..
2021-09-23 13:44:45 -07:00
2020-07-30 19:18:06 -07:00
2021-02-25 16:43:29 -08:00
2021-06-04 07:50:26 +09:00
2020-10-16 12:30:45 -07:00
2021-02-25 16:43:30 -08:00
2021-02-25 16:43:30 -08:00
2021-07-28 13:17:59 -07:00
2020-03-24 15:04:43 -07:00
2021-05-07 12:47:41 +09:00
2021-06-02 07:34:27 +09:00
2021-09-23 13:44:46 -07:00
2021-04-14 13:47:21 -07:00
2020-03-24 15:04:44 -07:00
2020-05-13 12:19:18 -07:00
2021-10-06 13:40:11 -07:00
2021-04-07 16:54:08 -07:00
2021-01-25 14:19:19 -08:00
2020-07-30 19:18:06 -07:00
2020-08-11 18:04:11 -07:00