summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/helper/test-progress.c1
-rwxr-xr-xt/t0500-progress-display.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/t/helper/test-progress.c b/t/helper/test-progress.c
index 5d05cbe789..9265e6ab7c 100644
--- a/t/helper/test-progress.c
+++ b/t/helper/test-progress.c
@@ -69,6 +69,7 @@ int cmd__progress(int argc, const char **argv)
die("invalid input: '%s'\n", line.buf);
}
stop_progress(&progress);
+ strbuf_release(&line);
return 0;
}
diff --git a/t/t0500-progress-display.sh b/t/t0500-progress-display.sh
index 22058b503a..f37cf2eb9c 100755
--- a/t/t0500-progress-display.sh
+++ b/t/t0500-progress-display.sh
@@ -2,6 +2,7 @@
test_description='progress display'
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
show_cr () {