summaryrefslogtreecommitdiff
path: root/tests/diff/format_email.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/diff/format_email.c
parent56ffdfc61e37b9e7634c7c73b05d84355bea61cd (diff)
downloadlibgit2-ecf4f33a4e327a91496f72816f9f02d923e5af05.tar.gz
Convert usage of `git_buf_free` to new `git_buf_dispose`
Diffstat (limited to 'tests/diff/format_email.c')
-rw-r--r--tests/diff/format_email.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/diff/format_email.c b/tests/diff/format_email.c
index c3c04107b..28f840ab0 100644
--- a/tests/diff/format_email.c
+++ b/tests/diff/format_email.c
@@ -49,7 +49,7 @@ static void assert_email_match(
git_diff_free(diff);
git_commit_free(commit);
- git_buf_free(&buf);
+ git_buf_dispose(&buf);
}
void test_diff_format_email__simple(void)
@@ -255,7 +255,7 @@ void test_diff_format_email__multiple(void)
git_diff_free(diff);
git_commit_free(commit);
- git_buf_free(&buf);
+ git_buf_dispose(&buf);
}
void test_diff_format_email__exclude_marker(void)
@@ -331,7 +331,7 @@ void test_diff_format_email__invalid_no(void)
git_diff_free(diff);
git_commit_free(commit);
- git_buf_free(&buf);
+ git_buf_dispose(&buf);
}
void test_diff_format_email__mode_change(void)