merge: Fix memory leak in test
diff --git a/tests/revwalk/mergebase.c b/tests/revwalk/mergebase.c
index d486bba..ee078b3 100644
--- a/tests/revwalk/mergebase.c
+++ b/tests/revwalk/mergebase.c
@@ -509,5 +509,6 @@ void test_revwalk_mergebase__remove_redundant(void)
cl_assert_equal_i(1, result.count);
cl_assert_equal_oid(&base, &result.ids[0]);
+ git_oidarray_free(&result);
git_repository_free(repo);
}