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() leakmaint
commit
b5a135b1f7
|
@ -311,6 +311,7 @@ static int graph_write(int argc, const char **argv, const char *prefix,
|
||||||
while (strbuf_getline(&buf, stdin) != EOF) {
|
while (strbuf_getline(&buf, stdin) != EOF) {
|
||||||
if (read_one_commit(&commits, progress, buf.buf)) {
|
if (read_one_commit(&commits, progress, buf.buf)) {
|
||||||
result = 1;
|
result = 1;
|
||||||
|
stop_progress(&progress);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue