summaryrefslogtreecommitdiff
path: root/t/helper/test-submodule-nested-repo-config.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-20 14:39:30 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-21 08:23:40 +0900
commit65a1b7e2bdbdff523f8d55e0036bfad72467bfc8 (patch)
tree7fe0fed86411935b4f431472a4bc7f78af571356 /t/helper/test-submodule-nested-repo-config.c
parent2664f2a0cb18369253acadfa3cb43b1cbf0ae067 (diff)
builtin/blame: fix leaking blame entries with `--incremental`
When passing `--incremental` to git-blame(1) we exit early by jumping to the `cleanup` label. But some of the cleanups we perform are handled between the `goto` and its label, and thus we leak the data. Move the cleanups after the `cleanup` label. While at it, move the logic to free the scoreboard's `final_buf` into `cleanup_scoreboard()` and drop its `const` declaration. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-submodule-nested-repo-config.c')
0 files changed, 0 insertions, 0 deletions