aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2017-11-05 21:24:29 +0100
committerJunio C Hamano <gitster@pobox.com>2017-11-06 10:15:29 +0900
commitfc5c40bb2bb1921f3bdfa55c1d846dc080c356b2 (patch)
tree77201679493967c9e2263956aa192cf81a7b0d5e /refs/files-backend.c
parentbisect: change calling-convention of `find_bisection()` (diff)
downloadgit-fc5c40bb2bb1921f3bdfa55c1d846dc080c356b2.tar.gz
git-fc5c40bb2bb1921f3bdfa55c1d846dc080c356b2.zip
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 <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions