summaryrefslogtreecommitdiff
path: root/gitweb/static/js/javascript-detection.js
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-20 14:39:32 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-21 08:23:40 +0900
commit96ab0e7b8b586322c1da6bbcd40773a54472679b (patch)
tree2625776d0a85b762b8c5733d23d90ced75e352c2 /gitweb/static/js/javascript-detection.js
parent79366add74529359dfb57a387090e9c5f9c74282 (diff)
bisect: fix leaking string in `handle_bad_merge_base()`
When handling a bad merge base we print an error, which includes the set of good revisions joined by spaces. This string is allocated, but never freed. Fix this memory leak. Note that the local `bad_hex` varible also looks like a string that we should free. But in fact, `oid_to_hex()` returns an address to a static variable even though it is declared to return a non-constant string. The function signature is thus quite misleading and really should be fixed, but doing so is outside of the scope of this patch series. 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