summaryrefslogtreecommitdiff
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
parent22baac889235bb3752ae36baec36f345871ac939 (diff)
parentff0eb72fb62919b744dba2c41f09e01d494971df (diff)
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;