Commit fad0aea9 by Carlos Martín Nieto

tests: fix leak

parent 9223f288
...@@ -146,6 +146,7 @@ void test_network_fetchlocal__multi_remotes(void) ...@@ -146,6 +146,7 @@ void test_network_fetchlocal__multi_remotes(void)
cl_git_pass(git_reference_list(&refnames, repo)); cl_git_pass(git_reference_list(&refnames, repo));
cl_assert_equal_i(32, (int)refnames.count); cl_assert_equal_i(32, (int)refnames.count);
git_strarray_free(&refnames);
cl_git_pass(git_remote_load(&test2, repo, "test_with_pushurl")); cl_git_pass(git_remote_load(&test2, repo, "test_with_pushurl"));
cl_git_pass(git_remote_set_url(test2, cl_git_fixture_url("testrepo.git"))); cl_git_pass(git_remote_set_url(test2, cl_git_fixture_url("testrepo.git")));
......
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