aboutsummaryrefslogtreecommitdiffstats
path: root/notes.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-06-11 11:19:26 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-11 13:15:05 -0700
commitbb8c43d5cd9648f868e11e462392a38a43354692 (patch)
tree539202886f12a697feab3629baeab2bb634910b7 /notes.c
parentparse-options: fix leaks for users of OPT_FILENAME (diff)
downloadgit-bb8c43d5cd9648f868e11e462392a38a43354692.tar.gz
git-bb8c43d5cd9648f868e11e462392a38a43354692.zip
notes-utils: free note trees when releasing copied notes
While we clear most of the members of `struct notes_rewrite_cfg` in `finish_copy_notes_for_rewrite()`, we do not clear the notes tree. Fix this to plug this memory leak. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes.c')
0 files changed, 0 insertions, 0 deletions