Commit fa9cc14880cb50ea626c4bb0fcf1b68acdd73186

Russell Belfer 2013-09-13T13:41:33

Fix cleanup issues with new tests

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/tests-clar/revwalk/simplify.c b/tests-clar/revwalk/simplify.c
index c949521..81c19d3 100644
--- a/tests-clar/revwalk/simplify.c
+++ b/tests-clar/revwalk/simplify.c
@@ -1,5 +1,10 @@
 #include "clar_libgit2.h"
 
+void test_revwalk_simplify__cleanup(void)
+{
+	cl_git_sandbox_cleanup();
+}
+
 /*
 	*   a4a7dce [0] Merge branch 'master' into br2
 	|\
@@ -47,5 +52,4 @@ void test_revwalk_simplify__first_parent(void)
 	cl_assert_equal_i(error, GIT_ITEROVER);
 
 	git_revwalk_free(walk);
-	git_repository_free(repo);
 }