diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-11-20 14:39:34 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-21 08:23:41 +0900 |
commit | cfb8a0da55fec9619e4e5b1e9b211ef85e3c9cb3 (patch) | |
tree | 2ee19b327de346097fb695287215f4e94ee4a2cd /gitweb/static/js/javascript-detection.js | |
parent | a13d4a19d2b260e27b262292f07f5f315f04e07d (diff) |
bisect: fix multiple leaks in `bisect_next_all()`
There are multiple leaks in `bisect_next_all()`. For one we don't free
the `tried` commit list. Second, one of the branches uses a direct
return instead of jumping to the cleanup code.
Fix these by freeing the commit list and converting the return to a
goto.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/javascript-detection.js')
0 files changed, 0 insertions, 0 deletions