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 11:23:07 -0700 |
| commit | 6512d6e473c1c1f9f2e6967e2703a19784109a8b (patch) | |
| tree | e7796fa5a8dcee970add8aab88314f6b76dfceff /builtin/index-pack.c | |
| parent | revision: fix memory leaks when rewriting parents (diff) | |
| download | git-6512d6e473c1c1f9f2e6967e2703a19784109a8b.tar.gz 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 'builtin/index-pack.c')
0 files changed, 0 insertions, 0 deletions
