bisect.c: add missing "goto" for release_revisions()
Add a missing "goto cleanup", this fixes a bug in
f196c1e908
(revisions API users: use release_revisions() needing
REV_INFO_INIT, 2022-04-13).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
350dc9f0e8
commit
c5365e93fd
2
bisect.c
2
bisect.c
@ -1054,7 +1054,7 @@ enum bisect_error bisect_next_all(struct repository *r, const char *prefix)
|
|||||||
*/
|
*/
|
||||||
res = error_if_skipped_commits(tried, NULL);
|
res = error_if_skipped_commits(tried, NULL);
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
return res;
|
goto cleanup;
|
||||||
printf(_("%s was both %s and %s\n"),
|
printf(_("%s was both %s and %s\n"),
|
||||||
oid_to_hex(current_bad_oid),
|
oid_to_hex(current_bad_oid),
|
||||||
term_good,
|
term_good,
|
||||||
|
Reference in New Issue
Block a user