aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-09-30 16:16:15 -0700
committerJunio C Hamano <gitster@pobox.com>2024-09-30 16:16:15 -0700
commit1a898cee01dbb972f6b63b76944f6d794a898db0 (patch)
tree0835941bff241211ab22e67c6b8a5e32a0dcc0cc /commit-graph.c
parentMerge branch 'pw/submodule-process-sigpipe' (diff)
parentcommit-graph: remove unnecessary UNLEAK (diff)
downloadgit-1a898cee01dbb972f6b63b76944f6d794a898db0.tar.gz
git-1a898cee01dbb972f6b63b76944f6d794a898db0.zip
Merge branch 'rs/commit-graph-ununleak'
Code clean-up. * rs/commit-graph-ununleak: commit-graph: remove unnecessary UNLEAK
Diffstat (limited to 'commit-graph.c')
-rw-r--r--commit-graph.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/commit-graph.c b/commit-graph.c
index aa6e08eb39..5bd89c0acd 100644
--- a/commit-graph.c
+++ b/commit-graph.c
@@ -2055,7 +2055,6 @@ static int write_commit_graph_file(struct write_commit_graph_context *ctx)
}
if (safe_create_leading_directories(ctx->graph_name)) {
- UNLEAK(ctx->graph_name);
error(_("unable to create leading directories of %s"),
ctx->graph_name);
return -1;