diff options
Diffstat (limited to 'tests/repo/init.c')
-rw-r--r-- | tests/repo/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/repo/init.c b/tests/repo/init.c index 999afd625..189b0894a 100644 --- a/tests/repo/init.c +++ b/tests/repo/init.c @@ -423,6 +423,7 @@ void test_repo_init__relative_gitdir_2(void) /* make the directory first, then it should succeed */ cl_git_pass(git_repository_init_ext(&_repo, "root/b/my_repository", &opts)); + git_buf_free(&full_path); cl_assert(!git__suffixcmp(git_repository_workdir(_repo), "root/b/c_wd/")); cl_assert(!git__suffixcmp(git_repository_path(_repo), "root/b/my_repository/")); |