summaryrefslogtreecommitdiff
path: root/tests-clar
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar')
-rw-r--r--tests-clar/network/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/network/fetch.c b/tests-clar/network/fetch.c
index 63be3de26..5ff7b0af8 100644
--- a/tests-clar/network/fetch.c
+++ b/tests-clar/network/fetch.c
@@ -47,6 +47,8 @@ static void do_fetch(const char *url, int flag, int n)
git_remote_disconnect(remote);
cl_git_pass(git_remote_update_tips(remote));
cl_assert_equal_i(counter, n);
+
+ git_remote_free(remote);
}
void test_network_fetch__default_git(void)