Merge branch 'ma/bisect-leakfix' into maint
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Nov 2017 01:57:02 +0000 (10:57 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Nov 2017 01:57:02 +0000 (10:57 +0900)
Leak fixes.

* ma/bisect-leakfix:
bisect: fix memory leak when returning best element
bisect: fix off-by-one error in `best_bisection_sorted()`
bisect: fix memory leak in `find_bisection()`
bisect: change calling-convention of `find_bisection()`

Trivial merge