summaryrefslogtreecommitdiffstats
path: root/list-objects.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-09-30 11:14:06 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-30 20:23:07 +0200
commit6512d6e473c1c1f9f2e6967e2703a19784109a8b (patch)
treee7796fa5a8dcee970add8aab88314f6b76dfceff /list-objects.h
parentrevision: fix memory leaks when rewriting parents (diff)
downloadgit-6512d6e473c1c1f9f2e6967e2703a19784109a8b.tar.xz
git-6512d6e473c1c1f9f2e6967e2703a19784109a8b.zip
revision: fix leaking saved parents
The `saved_parents` slab is used by `--full-diff` to save parents of a commit which we are about to rewrite. We do not release its contents once it's not used anymore, causing a memory leak. Plug it. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects.h')
0 files changed, 0 insertions, 0 deletions