summaryrefslogtreecommitdiff
path: root/tests-clar/object/commit
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/object/commit')
-rw-r--r--tests-clar/object/commit/commitstagedfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/object/commit/commitstagedfile.c b/tests-clar/object/commit/commitstagedfile.c
index eb78cedaa..6dc536e3a 100644
--- a/tests-clar/object/commit/commitstagedfile.c
+++ b/tests-clar/object/commit/commitstagedfile.c
@@ -13,6 +13,8 @@ void test_object_commit_commitstagedfile__initialize(void)
void test_object_commit_commitstagedfile__cleanup(void)
{
git_repository_free(repo);
+ repo = NULL;
+
cl_fixture_cleanup("treebuilder");
}