bisect: fix memory leak in `find_bisection()`
authorMartin Ågren <redacted>
Sun, 5 Nov 2017 20:24:29 +0000 (21:24 +0100)
committerJunio C Hamano <redacted>
Mon, 6 Nov 2017 01:15:29 +0000 (10:15 +0900)
commitfc5c40bb2bb1921f3bdfa55c1d846dc080c356b2
tree77201679493967c9e2263956aa192cf81a7b0d5e
parent24d707f636f01d41f708a010f255dd46a8fce08c
bisect: fix memory leak in `find_bisection()`

`find_bisection()` rebuilds the commit list it is given by reversing it
and skipping uninteresting commits. The uninteresting list entries are
leaked. Free them to fix the leak.

Signed-off-by: Martin Ågren <redacted>
Signed-off-by: Junio C Hamano <redacted>
bisect.c
git clone https://git.99rst.org/PROJECT