mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 13:25:18 +00:00
Fixed memory leak in git_commit__free().
This commit is contained in:
parent
2645053be2
commit
4b64c37f68
@ -50,6 +50,7 @@ static void clear_parents(git_commit *commit)
|
||||
void git_commit__free(git_commit *commit)
|
||||
{
|
||||
clear_parents(commit);
|
||||
git_vector_free(&commit->parents);
|
||||
|
||||
git_signature_free(commit->author);
|
||||
git_signature_free(commit->committer);
|
||||
|
Loading…
Reference in New Issue
Block a user