bisect: assorted leak-fixes
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest4 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bisect: change calling-convention of `find_bisection()`bisect.c bisect.h builtin/ | +17 | 0 replies | |
| 2/4 | bisect: fix memory leak in `find_bisection()`bisect.c | +3 | 0 replies | |
| 3/4 | bisect: fix off-by-one error in `best_bisection_sorted()`bisect.c | +4 | 0 replies | |
| 4/4 | bisect: fix memory leak when returning best elementbisect.c | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] bisect: assorted leak-fixes
This fixes a couple of leaks around find_bisection(). The first patch is new since v1 [1] to make the calling-convention of find_bisection()` less prone to misuse. Patch 2 is similar to v1, the only difference is that the "while at it" has moved into patch 1. Patches 3 and 4 are identical to v1.
Martin
Martin Ågren (4):
bisect: change calling-convention of find_bisection()
bisect: fix memory leak in find_bisection()
bisect: fix off-by-one error in best_bisection_sorted()
bisect: fix memory leak when returning best element
bisect.h | 12 +++++++++--- bisect.c | 33 +++++++++++++++++++-------------- builtin/rev-list.c | 3 +-- 3 files changed, 29 insertions(+), 19 deletions(-)
Signature · 1 line
2.15.0.415.gac1375d7e