diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-09-05 12:09:01 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-05 08:49:11 -0700 |
| commit | 42c153e1c06fcfea8446f11bf3fc3bcf9ea25867 (patch) | |
| tree | c7d73b7c50293414585b1f71434f33d509363053 /commit.h | |
| parent | remote: fix leaking tracking refs (diff) | |
| download | git-42c153e1c06fcfea8446f11bf3fc3bcf9ea25867.tar.gz git-42c153e1c06fcfea8446f11bf3fc3bcf9ea25867.zip | |
remote: fix leak in reachability check of a remote-tracking ref
In `check_if_includes_upstream()` we retrieve the local ref
corresponding to a remote-tracking ref we want to check reachability
for. We never free that local ref and thus cause a memory leak. Fix
this.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions
