diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-06-25 11:20:04 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-06-26 08:27:19 -0700 |
| commit | 432b2e4f9ebd2cbafab641619067dce4d3f223bc (patch) | |
| tree | 5690e45d14d08bbb1cc45fcce2e57704e5af4b53 /t/t4013/diff.format-patch_--inline_--stdout_initial..master | |
| parent | 5bf546755c0a9d758773538d1bd730785189c9d7 (diff) | |
repository: free main reference database
While we release worktree and submodule reference databases when
clearing a repository, we don't ever release the main reference
database. This memory leak went unnoticed because its pointer is
kept alive by the "chdir_notify" subsystem.
Fix the memory leak.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions
