Commit b656e5eb by Vicent Marti

merge: Fix memory leak in test

parent 85196232
...@@ -509,5 +509,6 @@ void test_revwalk_mergebase__remove_redundant(void) ...@@ -509,5 +509,6 @@ void test_revwalk_mergebase__remove_redundant(void)
cl_assert_equal_i(1, result.count); cl_assert_equal_i(1, result.count);
cl_assert_equal_oid(&base, &result.ids[0]); cl_assert_equal_oid(&base, &result.ids[0]);
git_oidarray_free(&result);
git_repository_free(repo); git_repository_free(repo);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment