summaryrefslogtreecommitdiff
path: root/tests/notes/notesref.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/notes/notesref.c')
-rw-r--r--tests/notes/notesref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notes/notesref.c b/tests/notes/notesref.c
index 4159ddc0d..3bcb05f20 100644
--- a/tests/notes/notesref.c
+++ b/tests/notes/notesref.c
@@ -64,5 +64,5 @@ void test_notes_notesref__config_corenotesref(void)
cl_git_pass(git_note_default_ref(&default_ref, _repo));
cl_assert_equal_s(GIT_NOTES_DEFAULT_REF, default_ref.ptr);
- git_buf_free(&default_ref);
+ git_buf_dispose(&default_ref);
}