diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-02-08 11:14:48 +0000 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-06-10 19:34:37 +0200 |
commit | ecf4f33a4e327a91496f72816f9f02d923e5af05 (patch) | |
tree | bb8eccc9ab0dc8f36a702c8a15ad5ae92429ee07 /tests/diff/blob.c | |
parent | 56ffdfc61e37b9e7634c7c73b05d84355bea61cd (diff) | |
download | libgit2-ecf4f33a4e327a91496f72816f9f02d923e5af05.tar.gz |
Convert usage of `git_buf_free` to new `git_buf_dispose`
Diffstat (limited to 'tests/diff/blob.c')
-rw-r--r-- | tests/diff/blob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/diff/blob.c b/tests/diff/blob.c index 05cc28218..a876a973d 100644 --- a/tests/diff/blob.c +++ b/tests/diff/blob.c @@ -101,7 +101,7 @@ void test_diff_blob__patch_with_freed_blobs(void) cl_assert_equal_s(buf.ptr, BLOB_DIFF); git_patch_free(p); - git_buf_free(&buf); + git_buf_dispose(&buf); } void test_diff_blob__can_compare_text_blobs(void) @@ -1016,7 +1016,7 @@ void test_diff_blob__using_path_and_attributes(void) git_buf_clear(&buf); git_patch_free(p); - git_buf_free(&buf); + git_buf_dispose(&buf); git_blob_free(nonbin); git_blob_free(bin); } |