stagit

fix memory leak of commitinfo->parent

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 0011f8b parent: 6c387ab
1 files changed, 1 insertions(+), 0 deletions(-)
Mstagit.c+1-0
M · stagit.c +1, -0
1@@ -177,6 +177,7 @@ commitinfo_free(struct commitinfo *ci)
2 	git_tree_free(ci->commit_tree);
3 	git_tree_free(ci->parent_tree);
4 	git_commit_free(ci->commit);
5+	git_commit_free(ci->parent);
6 }
7 
8 struct commitinfo *