diff options
| author | Samo Pogačnik <samo_pogacnik@t-2.net> | 2026-02-15 20:11:55 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-17 11:16:10 -0800 |
| commit | d0abfb048fe0a069a4d3cd42fdd0c99afec141c4 (patch) | |
| tree | 26c98c47a945b975414cfbec644a56d02f5374e3 /contrib/persistent-https | |
| parent | d529f3a197364881746f558e5652f0236131eb86 (diff) | |
| download | git-d0abfb048fe0a069a4d3cd42fdd0c99afec141c4.tar.gz git-d0abfb048fe0a069a4d3cd42fdd0c99afec141c4.zip | |
shallow: free local object_array allocations
The local object_array 'stack' in get_shallow_commits() function
does not free its dynamic elements before the function returns.
As a result elements remain allocated and their reference forgotten.
Also note, that test 'fetching deepen beyond merged branch' added by
'shallow: handling fetch relative-deepen' patch fails without this
correction in linux-leaks and linux-reftable-leaks test runs.
Signed-off-by: Samo Pogačnik <samo_pogacnik@t-2.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
