bisect--helper: release strbuf and strvec on run error
commit8efa2acc2ed667eb7d80a533ace59f4722088c8b
authorRené Scharfe <l.s.r@web.de>
Tue, 18 Jan 2022 12:46:15 +0000 (18 13:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Jan 2022 01:11:22 +0000 (18 17:11 -0800)
tree81d99cc852995be27b5424c3e2c61647f24e1c7f
parent80c2e9657f2d0f0cd45eec6f5e66f570bf542124
bisect--helper: release strbuf and strvec on run error

Move the cleanup code out of the loop and make sure all execution paths
pass through it to avoid leaking memory.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/bisect--helper.c