Skip to content

Commit c5365e9

Browse files
avargitster
authored andcommitted
bisect.c: add missing "goto" for release_revisions()
Add a missing "goto cleanup", this fixes a bug in f196c1e (revisions API users: use release_revisions() needing REV_INFO_INIT, 2022-04-13). Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 350dc9f commit c5365e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bisect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ enum bisect_error bisect_next_all(struct repository *r, const char *prefix)
10541054
*/
10551055
res = error_if_skipped_commits(tried, NULL);
10561056
if (res < 0)
1057-
return res;
1057+
goto cleanup;
10581058
printf(_("%s was both %s and %s\n"),
10591059
oid_to_hex(current_bad_oid),
10601060
term_good,

0 commit comments

Comments
 (0)