summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/online/clone.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/online/clone.c b/tests/online/clone.c
index e269771c0..8a2a64f95 100644
--- a/tests/online/clone.c
+++ b/tests/online/clone.c
@@ -194,6 +194,9 @@ void test_online_clone__clone_mirror(void)
git_remote_free(remote);
git_reference_free(head);
git_buf_free(&path);
+ git_repository_free(g_repo);
+ g_repo = NULL;
+
cl_fixture_cleanup("./foo.git");
}