summaryrefslogtreecommitdiff
path: root/tests/refs/branches/upstreamname.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/refs/branches/upstreamname.c')
-rw-r--r--tests/refs/branches/upstreamname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/refs/branches/upstreamname.c b/tests/refs/branches/upstreamname.c
index d30002e08..2eb639738 100644
--- a/tests/refs/branches/upstreamname.c
+++ b/tests/refs/branches/upstreamname.c
@@ -13,7 +13,7 @@ void test_refs_branches_upstreamname__initialize(void)
void test_refs_branches_upstreamname__cleanup(void)
{
- git_buf_free(&upstream_name);
+ git_buf_dispose(&upstream_name);
git_repository_free(repo);
repo = NULL;