Commit 4b1b2bd9eb5ddfed32b509871fba30433a895ec9

Edward Thomson 2014-10-25T19:53:27

revwalk::mergebase test: free memory

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests/revwalk/mergebase.c b/tests/revwalk/mergebase.c
index fa974eb..aafe97d 100644
--- a/tests/revwalk/mergebase.c
+++ b/tests/revwalk/mergebase.c
@@ -171,6 +171,7 @@ void test_revwalk_mergebase__multiple_merge_bases_many_commits(void)
 	cl_assert_equal_oid(&expected2, &result.ids[1]);
 
 	git_oidarray_free(&result);
+	git__free(input);
 }
 
 void test_revwalk_mergebase__no_off_by_one_missing(void)