diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-09-30 11:14:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-30 20:23:07 +0200 |
commit | 6512d6e473c1c1f9f2e6967e2703a19784109a8b (patch) | |
tree | e7796fa5a8dcee970add8aab88314f6b76dfceff /fetch-negotiator.h | |
parent | revision: fix memory leaks when rewriting parents (diff) | |
download | git-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 'fetch-negotiator.h')
0 files changed, 0 insertions, 0 deletions