summaryrefslogtreecommitdiff
path: root/tests/repo
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-09-17 03:19:40 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-09-17 03:19:40 +0200
commit25abbc27a77895e2f2316ed307b51e628d85f15c (patch)
tree1fc915d958e07ce2cd8b523deb53c0c626c55f66 /tests/repo
parentecef28d55c7d72dda0e33649614f2b20db482cd6 (diff)
downloadlibgit2-25abbc27a77895e2f2316ed307b51e628d85f15c.tar.gz
Clean up some leaks in the test suite
Diffstat (limited to 'tests/repo')
-rw-r--r--tests/repo/init.c1
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/"));