diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-07 12:01:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-07 15:40:15 -0700 |
commit | 6a75658c0ae7c822c50ab09d56388e48f22e6c31 (patch) | |
tree | c77ddeb1359c546f67b7db1bfb9dc5cc3e0c5261 /t/helper/test-regex.c | |
parent | Merge branch 'ab/sanitize-leak-ci' into ab/mark-leak-free-tests-more (diff) | |
download | tgif-6a75658c0ae7c822c50ab09d56388e48f22e6c31.tar.xz |
tests: fix a memory leak in test-prio-queue.c
Fix a memory leak in t/helper/test-prio-queue.c, the lack of freeing
the memory with clear_prio_queue() has been there ever since this code
was originally added in b4b594a3154 (prio-queue: priority queue of
pointers to structs, 2013-06-06).
By fixing this leak we can cleanly run t0009-prio-queue.sh under
SANITIZE=leak, so annotate it as such with
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/helper/test-regex.c')
0 files changed, 0 insertions, 0 deletions