summaryrefslogtreecommitdiff
path: root/tests/refs/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/refs/read.c')
-rw-r--r--tests/refs/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/refs/read.c b/tests/refs/read.c
index cb42a568b..c00b016ee 100644
--- a/tests/refs/read.c
+++ b/tests/refs/read.c
@@ -45,7 +45,7 @@ void test_refs_read__loose_tag(void)
/* Ensure the name of the tag matches the name of the reference */
cl_git_pass(git_buf_joinpath(&ref_name_from_tag_name, GIT_REFS_TAGS_DIR, git_tag_name((git_tag *)object)));
cl_assert_equal_s(ref_name_from_tag_name.ptr, loose_tag_ref_name);
- git_buf_free(&ref_name_from_tag_name);
+ git_buf_dispose(&ref_name_from_tag_name);
git_object_free(object);