summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2014-06-07 12:18:24 -0400
committerPhilip Kelley <phkelley@hotmail.com>2014-06-07 12:18:24 -0400
commit6d1b04383ed0744b0346dc9834e34ef7b634a2e0 (patch)
tree41d572c236b84c2f253c454d8cf055b2bf68e0a4
parent716e20b47eb82ebd94588fe6c950e661b6fe4f15 (diff)
downloadlibgit2-6d1b04383ed0744b0346dc9834e34ef7b634a2e0.tar.gz
Win32: Fix failing clone_mirror test
-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");
}