summaryrefslogtreecommitdiff
path: root/tests/diff/blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/diff/blob.c')
-rw-r--r--tests/diff/blob.c4
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);
}