diff options
author | Junio C Hamano <gitster@pobox.com> | 2025-06-17 10:44:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-17 10:44:41 -0700 |
commit | b5a135b1f7a26bcceb047fde01cd52029a0a8285 (patch) | |
tree | 730f1ea6c035a55a19f474c4ce4386d00d45003f /builtin/commit-graph.c | |
parent | 1f622bb0abf08c31a94858955a1350a65bd410de (diff) | |
parent | 7082da85cbd03404a21a3ba02158d7ab1989cfc2 (diff) |
Merge branch 'ly/commit-graph-graph-write-leakfix'
A memory-leak in an error code path has been plugged.
* ly/commit-graph-graph-write-leakfix:
commit-graph: fix start_delayed_progress() leak
Diffstat (limited to 'builtin/commit-graph.c')
-rw-r--r-- | builtin/commit-graph.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/commit-graph.c b/builtin/commit-graph.c index a783a86e79..ee48980248 100644 --- a/builtin/commit-graph.c +++ b/builtin/commit-graph.c @@ -311,6 +311,7 @@ static int graph_write(int argc, const char **argv, const char *prefix, while (strbuf_getline(&buf, stdin) != EOF) { if (read_one_commit(&commits, progress, buf.buf)) { result = 1; + stop_progress(&progress); goto cleanup; } } |