зеркало из https://github.com/microsoft/git.git
Merge branch 'jk/diff-files-cleanup-fix'
An earlier attempt to plug leaks placed a clean-up label to jump to at a bogus place, which as been corrected. * jk/diff-files-cleanup-fix: diff-files: move misplaced cleanup label
This commit is contained in:
Коммит
7c683389d6
|
@ -80,9 +80,9 @@ int cmd_diff_files(int argc, const char **argv, const char *prefix)
|
|||
result = -1;
|
||||
goto cleanup;
|
||||
}
|
||||
cleanup:
|
||||
result = run_diff_files(&rev, options);
|
||||
result = diff_result_code(&rev.diffopt, result);
|
||||
cleanup:
|
||||
release_revisions(&rev);
|
||||
return result;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче