fix memory leak of commitinfo->parent

This commit is contained in:
Hiltjo Posthuma 2017-03-12 19:50:45 +01:00
parent 7a515945dd
commit 0f05e4b4f0

View file

@ -177,6 +177,7 @@ commitinfo_free(struct commitinfo *ci)
git_tree_free(ci->commit_tree);
git_tree_free(ci->parent_tree);
git_commit_free(ci->commit);
git_commit_free(ci->parent);
}
struct commitinfo *