diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-09-05 12:08:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-05 08:49:10 -0700 |
commit | 63494913eced2f0993eb431ad236b03e6ee8cac2 (patch) | |
tree | 04e3bc70bddc380863411f45ed84cf64af4715b4 /commit.c | |
parent | a9539a993a2b4dbfb5540aebb02bfcfd5be4c24f (diff) |
fetch-pack: fix memory leaks on fetch negotiation
We leak both the `nt_object_array` and `negotiator` structures in
`negotiate_using_fetch()`. Plug both of these leaks.
These leaks were exposed by t5516, but fixing them is not sufficient to
make the whole test suite leak free.
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