mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
tests: don't free an unininitialized repo
This commit is contained in:
@@ -219,5 +219,4 @@ void test_clone_local__shallow_fails(void)
|
||||
opts.fetch_opts.depth = 4;
|
||||
|
||||
cl_git_fail_with(GIT_ENOTSUPPORTED, git_clone(&repo, cl_fixture("testrepo.git"), "./clone.git", &opts));
|
||||
git_repository_free(repo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user