summaryrefslogtreecommitdiff
path: root/tests/core/filebuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/filebuf.c')
-rw-r--r--tests/core/filebuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/filebuf.c b/tests/core/filebuf.c
index ef7ac6bd9..51d8a0146 100644
--- a/tests/core/filebuf.c
+++ b/tests/core/filebuf.c
@@ -210,8 +210,8 @@ void test_core_filebuf__symlink_follow_absolute_paths(void)
cl_assert_equal_i(true, git_path_exists("linkdir/target"));
git_filebuf_cleanup(&file);
- git_buf_free(&source);
- git_buf_free(&target);
+ git_buf_dispose(&source);
+ git_buf_dispose(&target);
cl_git_pass(git_futils_rmdir_r("linkdir", NULL, GIT_RMDIR_REMOVE_FILES));
}