Files
git/builtin
Patrick Steinhardt 65a1b7e2bd 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>
2024-11-21 08:23:40 +09:00
..
2024-09-23 10:35:09 -07:00
2024-09-23 10:35:09 -07:00
2024-10-21 16:05:04 -04:00
2024-10-02 07:46:26 -07:00
2024-09-23 10:35:09 -07:00
2024-09-24 10:54:39 -07:00
2024-09-24 10:54:39 -07:00
2024-10-02 07:46:26 -07:00
2024-10-02 07:46:26 -07:00