summaryrefslogtreecommitdiff
path: root/tests/patch
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/patch
parent56ffdfc61e37b9e7634c7c73b05d84355bea61cd (diff)
downloadlibgit2-ecf4f33a4e327a91496f72816f9f02d923e5af05.tar.gz
Convert usage of `git_buf_free` to new `git_buf_dispose`
Diffstat (limited to 'tests/patch')
-rw-r--r--tests/patch/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/patch/print.c b/tests/patch/print.c
index 62e50b93e..4703c1d51 100644
--- a/tests/patch/print.c
+++ b/tests/patch/print.c
@@ -20,7 +20,7 @@ void patch_print_from_patchfile(const char *data, size_t len)
cl_assert_equal_s(data, buf.ptr);
git_patch_free(patch);
- git_buf_free(&buf);
+ git_buf_dispose(&buf);
}
void test_patch_print__change_middle(void)