summaryrefslogtreecommitdiff
path: root/tests/t04-commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t04-commit.c')
-rw-r--r--tests/t04-commit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/t04-commit.c b/tests/t04-commit.c
index 681b3fbd1..d0bb1b583 100644
--- a/tests/t04-commit.c
+++ b/tests/t04-commit.c
@@ -766,6 +766,8 @@ BEGIN_TEST(root0, "create a root commit")
git__free(head_old);
git_commit_close(commit);
git_repository_free(repo);
+
+ git_reference_free(head);
END_TEST
BEGIN_SUITE(commit)