aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/log.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-06-11 11:19:50 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-11 13:15:05 -0700
commitf644dc84949bcc6d6d06274a30feb4b366ae68de (patch)
tree575d800735a9687ed89c1e0f7c4c33a91382c0ce /builtin/log.c
parentrevision: fix leaking display notes (diff)
downloadgit-f644dc84949bcc6d6d06274a30feb4b366ae68de.tar.gz
git-f644dc84949bcc6d6d06274a30feb4b366ae68de.zip
notes: fix memory leak when pruning notes
In `prune_notes()` we first store the notes that are to be deleted in a local list, and then iterate through that list to delete those notes one by one. We never free the list though and thus leak its memory. Fix this. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
0 files changed, 0 insertions, 0 deletions