Commit 0740b462da240a455ad35e011a44832d04fa2d7a

Vicent Marti 2011-01-08T22:24:28

Merge branch 'master' of https://github.com/Neopallium/libgit2

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/commit.c b/src/commit.c
index 019cefe..c3fa382 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -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);