summaryrefslogtreecommitdiff
path: root/tests/odb/largefiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/odb/largefiles.c')
-rw-r--r--tests/odb/largefiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/odb/largefiles.c b/tests/odb/largefiles.c
index a5b982e14..9fd99e520 100644
--- a/tests/odb/largefiles.c
+++ b/tests/odb/largefiles.c
@@ -36,7 +36,7 @@ static void writefile(git_oid *oid)
cl_git_pass(git_odb_stream_finalize_write(oid, stream));
git_odb_stream_free(stream);
- git_buf_free(&buf);
+ git_buf_dispose(&buf);
}
void test_odb_largefiles__write_from_memory(void)