diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-27 01:47:40 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-27 01:47:40 +0100 |
| commit | fad0aea9feedd19dcf063614fe1c53790ae218ec (patch) | |
| tree | 4224c56a0b0f0e0010f92712ded9783c7720623f /tests/network/fetchlocal.c | |
| parent | 9223f2884cff6aea0a3781df054e30e1241218c4 (diff) | |
| download | libgit2-fad0aea9feedd19dcf063614fe1c53790ae218ec.tar.gz | |
tests: fix leak
Diffstat (limited to 'tests/network/fetchlocal.c')
| -rw-r--r-- | tests/network/fetchlocal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/network/fetchlocal.c b/tests/network/fetchlocal.c index 965ca2dd5..f4f0921fb 100644 --- a/tests/network/fetchlocal.c +++ b/tests/network/fetchlocal.c @@ -146,6 +146,7 @@ void test_network_fetchlocal__multi_remotes(void) cl_git_pass(git_reference_list(&refnames, repo)); 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_set_url(test2, cl_git_fixture_url("testrepo.git"))); |
