summaryrefslogtreecommitdiff
path: root/tests/commit/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/commit/write.c')
-rw-r--r--tests/commit/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/commit/write.c b/tests/commit/write.c
index 030d41578..7b0af8cc0 100644
--- a/tests/commit/write.c
+++ b/tests/commit/write.c
@@ -130,7 +130,7 @@ This is a root commit\n\
This is a root commit and should be the only one in this branch\n\
");
- git_buf_free(&commit);
+ git_buf_dispose(&commit);
git_tree_free(tree);
git_commit_free(parent);
git_signature_free(author);