summaryrefslogtreecommitdiff
path: root/tests/libgit2/clone/nonetwork.c
diff options
context:
space:
mode:
authorYuang Li <yuangli88@hotmail.com>2022-09-05 10:38:53 +0100
committerYuang Li <yuangli88@hotmail.com>2022-09-05 10:38:53 +0100
commit34de5c87fb118ffa177bf2e6a023aee72c4f46f7 (patch)
treee489c258152cbf63de6a0b3e5b0fb25d1728de5e /tests/libgit2/clone/nonetwork.c
parent89c1b019b7026406834ce0f68a18f255f4b36f99 (diff)
downloadlibgit2-34de5c87fb118ffa177bf2e6a023aee72c4f46f7.tar.gz
fix seg faults
Diffstat (limited to 'tests/libgit2/clone/nonetwork.c')
-rw-r--r--tests/libgit2/clone/nonetwork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libgit2/clone/nonetwork.c b/tests/libgit2/clone/nonetwork.c
index 0c4e5a87d..eab633635 100644
--- a/tests/libgit2/clone/nonetwork.c
+++ b/tests/libgit2/clone/nonetwork.c
@@ -296,6 +296,8 @@ void test_clone_nonetwork__clone_tag_to_tree(void)
cl_git_pass(git_tree_entry_bypath(&tentry, tree, file_path));
git_tree_entry_free(tentry);
git_tree_free(tree);
+
+ cl_fixture_cleanup("testrepo.git");
}
static void assert_correct_reflog(const char *name)