summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-20 14:39:49 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-21 08:23:45 +0900
commit818e165898d5d3020c88c01544b69b2e65d7f644 (patch)
treeea0df05a0ec6e9a609d1acff8b65088648f1fa5c /git-gui/lib/commit.tcl
parentb97301c13c758f168019129fc888e6492c046752 (diff)
t/helper: fix leaking commit graph in "read-graph" subcommand
We're leaking the commit-graph in the "test-helper read-graph" subcommand, but as the leak is annotated with `UNLEAK()` the leak sanitizer doesn't complain. Fix the leak by calling `free_commit_graph()`. Besides getting rid of the `UNLEAK()` annotation, it also increases code coverage because we properly release resources as Git would do it, as well. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions