Merge branch 'jk/commit-graph-leak-fixes'
commita45eddec40b7fd0b9a86ccd0e889a785829d55d7
authorJunio C Hamano <gitster@pobox.com>
Fri, 13 Oct 2023 21:18:28 +0000 (13 14:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Oct 2023 21:18:28 +0000 (13 14:18 -0700)
tree8193fea2e96795af6435e37d2539614fe3e47135
parentc75e91499ba78278418b76f85964642a18af449c
parentda09e7af68247519e2b19fc8dff113896c39ac3c
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
builtin/commit-graph.c
builtin/merge.c
commit-graph.c
t/t5324-split-commit-graph.sh