summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.cgi
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-06-25 11:20:04 +0200
committerJunio C Hamano <gitster@pobox.com>2026-06-26 08:27:19 -0700
commit432b2e4f9ebd2cbafab641619067dce4d3f223bc (patch)
tree5690e45d14d08bbb1cc45fcce2e57704e5af4b53 /gitweb/gitweb.cgi
parent5bf546755c0a9d758773538d1bd730785189c9d7 (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 'gitweb/gitweb.cgi')
0 files changed, 0 insertions, 0 deletions