Commit 4b64c37f by Robert G. Jakabosky

Fixed memory leak in git_commit__free().

parent 2645053b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment