summaryrefslogtreecommitdiff
path: root/tests/submodule/submodule_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/submodule/submodule_helpers.c')
-rw-r--r--tests/submodule/submodule_helpers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/submodule/submodule_helpers.c b/tests/submodule/submodule_helpers.c
index cd541ea86..4bb064899 100644
--- a/tests/submodule/submodule_helpers.c
+++ b/tests/submodule/submodule_helpers.c
@@ -79,9 +79,9 @@ void rewrite_gitmodules(const char *workdir)
cl_must_pass(p_unlink(in_f.ptr));
- git_buf_free(&in_f);
- git_buf_free(&out_f);
- git_buf_free(&path);
+ git_buf_dispose(&in_f);
+ git_buf_dispose(&out_f);
+ git_buf_dispose(&path);
}
static void cleanup_fixture_submodules(void *payload)