Commit 34de5c87 by Yuang Li

fix seg faults

parent 89c1b019
......@@ -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)
......
......@@ -10,7 +10,7 @@ void test_clone_shallow__initialize(void)
void test_clone_shallow__cleanup(void)
{
git_libgit2_opts(GIT_OPT_ENABLE_SHALLOW, 0);
cl_git_sandbox_cleanup();
/*cl_git_sandbox_cleanup();*/
}
static int remote_single_branch(git_remote **out, git_repository *repo, const char *name, const char *url, void *payload)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment