diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-11-05 07:17:43 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-11-04 22:37:56 -0800 |
| commit | 0bc0fcf0b27271722de4fac668658ad5318bec84 (patch) | |
| tree | 6133262083c0a5dffd47c79f8f868d02b841e633 /diff-lib.c | |
| parent | t/helper: stop re-initialization of `the_repository` (diff) | |
| download | git-0bc0fcf0b27271722de4fac668658ad5318bec84.tar.gz git-0bc0fcf0b27271722de4fac668658ad5318bec84.zip | |
t/helper: fix leaking buffer in "dump-untracked-cache"
We never release the local `struct strbuf base` buffer, thus leaking
memory. Fix this leak.
This leak is exposed by t7063, but plugging it alone does not make the
whole test suite pass.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions
