summaryrefslogtreecommitdiff
path: root/tests/object/blob/fromstream.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-02-08 11:14:48 +0000
committerPatrick Steinhardt <ps@pks.im>2018-06-10 19:34:37 +0200
commitecf4f33a4e327a91496f72816f9f02d923e5af05 (patch)
treebb8eccc9ab0dc8f36a702c8a15ad5ae92429ee07 /tests/object/blob/fromstream.c
parent56ffdfc61e37b9e7634c7c73b05d84355bea61cd (diff)
downloadlibgit2-ecf4f33a4e327a91496f72816f9f02d923e5af05.tar.gz
Convert usage of `git_buf_free` to new `git_buf_dispose`
Diffstat (limited to 'tests/object/blob/fromstream.c')
-rw-r--r--tests/object/blob/fromstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/object/blob/fromstream.c b/tests/object/blob/fromstream.c
index d23149bd1..34b9f58d1 100644
--- a/tests/object/blob/fromstream.c
+++ b/tests/object/blob/fromstream.c
@@ -56,7 +56,7 @@ static void write_attributes(git_repository *repo)
cl_git_pass(git_futils_mkpath2file(git_buf_cstr(&buf), 0777));
cl_git_rewritefile(git_buf_cstr(&buf), GITATTR);
- git_buf_free(&buf);
+ git_buf_dispose(&buf);
}
static void assert_named_chunked_blob(const char *expected_sha, const char *fake_name)