aboutsummaryrefslogtreecommitdiffstats
path: root/t/t5324-split-commit-graph.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-10-13 14:18:28 -0700
committerJunio C Hamano <gitster@pobox.com>2023-10-13 14:18:28 -0700
commita45eddec40b7fd0b9a86ccd0e889a785829d55d7 (patch)
tree8193fea2e96795af6435e37d2539614fe3e47135 /t/t5324-split-commit-graph.sh
parentMerge branch 'la/trailer-test-and-doc-updates' (diff)
parentcommit-graph: clear oidset after finishing write (diff)
downloadgit-a45eddec40b7fd0b9a86ccd0e889a785829d55d7.tar.gz
git-a45eddec40b7fd0b9a86ccd0e889a785829d55d7.zip
Merge branch 'jk/commit-graph-leak-fixes'
Leakfix. * jk/commit-graph-leak-fixes: commit-graph: clear oidset after finishing write commit-graph: free write-context base_graph_name during cleanup commit-graph: free write-context entries before overwriting commit-graph: free graph struct that was not added to chain commit-graph: delay base_graph assignment in add_graph_to_chain() commit-graph: free all elements of graph chain commit-graph: move slab-clearing to close_commit_graph() merge: free result of repo_get_merge_bases() commit-reach: free temporary list in get_octopus_merge_bases() t6700: mark test as leak-free
Diffstat (limited to 't/t5324-split-commit-graph.sh')
-rwxr-xr-xt/t5324-split-commit-graph.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t5324-split-commit-graph.sh b/t/t5324-split-commit-graph.sh
index 06bb897f02..8a9720dcb0 100755
--- a/t/t5324-split-commit-graph.sh
+++ b/t/t5324-split-commit-graph.sh
@@ -1,6 +1,8 @@
#!/bin/sh
test_description='split commit graph'
+
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
GIT_TEST_COMMIT_GRAPH=0