summaryrefslogtreecommitdiff
path: root/tests/t09-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t09-tree.c')
-rw-r--r--tests/t09-tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/t09-tree.c b/tests/t09-tree.c
index cb127556b..6bc2a84bd 100644
--- a/tests/t09-tree.c
+++ b/tests/t09-tree.c
@@ -101,8 +101,6 @@ BEGIN_TEST(write0, "add a new entry to a tree and write it back to disk")
must_pass(git_object_write((git_object *)tree));
must_pass(remove_loose_object(REPOSITORY_FOLDER, (git_object *)tree));
- git_object_free((git_object *)tree);
-
git_repository_free(repo);
END_TEST
@@ -152,7 +150,6 @@ BEGIN_TEST(write1, "add several entries in-memory and validate that they exist;
*/
must_pass(remove_loose_object(REPOSITORY_FOLDER, (git_object *)tree));
- git_object_free((git_object *)tree);
git_repository_free(repo);
END_TEST