Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-20 02:40:18 +0300
committerJunio C Hamano <gitster@pobox.com>2022-07-20 02:40:18 +0300
commit7c683389d689c85e66d9c2ce1fba198da4325e3a (patch)
tree7c58248f9bc29eb0e3bbc9f42e49b840afc6ce9a /builtin
parent2fb377e5697c0a527cf73aab9ff9b44518448b48 (diff)
parent04393ae7f7951ba8af982cd1943c4dfb3102f6ed (diff)
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
Diffstat (limited to 'builtin')
-rw-r--r--builtin/diff-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diff-files.c b/builtin/diff-files.c
index 2bfaf9ba7a..92cf6e1e92 100644
--- a/builtin/diff-files.c
+++ b/builtin/diff-files.c
@@ -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;
}