summaryrefslogtreecommitdiff
path: root/tests-clar/commit/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/commit/commit.c')
-rw-r--r--tests-clar/commit/commit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/commit/commit.c b/tests-clar/commit/commit.c
index 1205e5285..4cedcea1d 100644
--- a/tests-clar/commit/commit.c
+++ b/tests-clar/commit/commit.c
@@ -11,6 +11,8 @@ void test_commit_commit__initialize(void)
void test_commit_commit__cleanup(void)
{
git_repository_free(_repo);
+ _repo = NULL;
+
cl_fixture_cleanup("testrepo.git");
}