summaryrefslogtreecommitdiff
path: root/tests-clar/reset/soft.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/reset/soft.c')
-rw-r--r--tests-clar/reset/soft.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/reset/soft.c b/tests-clar/reset/soft.c
index d51e3f1f1..7914d4666 100644
--- a/tests-clar/reset/soft.c
+++ b/tests-clar/reset/soft.c
@@ -15,6 +15,8 @@ void test_reset_soft__initialize(void)
void test_reset_soft__cleanup(void)
{
git_object_free(target);
+ target = NULL;
+
cl_git_sandbox_cleanup();
}