]> git.99rst.org Git - git.git/commit
bisect--helper: release strbuf and strvec on run error
authorRené Scharfe <redacted>
Tue, 18 Jan 2022 12:46:15 +0000 (13:46 +0100)
committerJunio C Hamano <redacted>
Wed, 19 Jan 2022 01:11:22 +0000 (17:11 -0800)
commit8efa2acc2ed667eb7d80a533ace59f4722088c8b
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/bisect--helper.c
git clone https://git.99rst.org/PROJECT