Skip to content

Commit 494d31e

Browse files
committed
Merge branch 'jk/diff-files-cleanup-fix' into maint
An earlier attempt to plug leaks placed a clean-up label to jump to at a bogus place, which as been corrected. source: <Ys0c0ePxPOqZ/[email protected]> * jk/diff-files-cleanup-fix: diff-files: move misplaced cleanup label
2 parents 57fe0df + 04393ae commit 494d31e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/diff-files.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ int cmd_diff_files(int argc, const char **argv, const char *prefix)
8080
result = -1;
8181
goto cleanup;
8282
}
83-
cleanup:
8483
result = run_diff_files(&rev, options);
8584
result = diff_result_code(&rev.diffopt, result);
85+
cleanup:
8686
release_revisions(&rev);
8787
return result;
8888
}

0 commit comments

Comments
 (0)