Merge branch 'ks/history-commit-leakfix' into next

* ks/history-commit-leakfix:
  builtin/history: unuse the commit buffer after use
next
Junio C Hamano 2026-09-15 11:09:26 -07:00
commit a115e8173a
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ out:
free_commit_extra_headers(original_extra_headers);
strbuf_release(&commit_message);
free(original_author);
repo_unuse_commit_buffer(repo, commit_with_message, original_message);
return ret;
}