diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-09-05 12:08:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-05 08:49:11 -0700 |
commit | ac2e7d545efdc4ceeef8c1191bb276e86d793f29 (patch) | |
tree | f632aa18de63b54328de4c79597c32b3f57ceac5 /commit.c | |
parent | 7eb6f02c554b2e41f4b33152163868a84a0afa85 (diff) |
upload-pack: fix leaking child process data on reachability checks
We spawn a git-rev-list(1) command to perform reachability checks in
"upload-pack.c". We do not release memory associated with the process
in error cases though, thus leaking memory.
Fix these by calling `child_process_clear()`.
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