diff options
| author | Patrick Steinhardt <ps@pks.im> | 2023-11-06 11:45:57 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-11-07 08:51:41 +0900 |
| commit | 568cc818cc26955eb0b94084d3068caabab1edd7 (patch) | |
| tree | 31bb0211188367332ee7afbd273779b25d72cf20 /commit.c | |
| parent | test-bloom: stop setting up Git directory twice (diff) | |
| download | git-568cc818cc26955eb0b94084d3068caabab1edd7.tar.gz git-568cc818cc26955eb0b94084d3068caabab1edd7.zip | |
shallow: fix memory leak when registering shallow roots
When registering shallow roots, we unset the list of parents of the
to-be-registered commit if it's already been parsed. This causes us to
leak memory though because we never free this list. Fix this.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
