diff options
| author | Patrick Steinhardt <ps@pks.im> | 2018-02-08 11:14:48 +0000 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-06-10 19:34:37 +0200 |
| commit | ecf4f33a4e327a91496f72816f9f02d923e5af05 (patch) | |
| tree | bb8eccc9ab0dc8f36a702c8a15ad5ae92429ee07 /tests/submodule/submodule_helpers.c | |
| parent | 56ffdfc61e37b9e7634c7c73b05d84355bea61cd (diff) | |
| download | libgit2-ecf4f33a4e327a91496f72816f9f02d923e5af05.tar.gz | |
Convert usage of `git_buf_free` to new `git_buf_dispose`
Diffstat (limited to 'tests/submodule/submodule_helpers.c')
| -rw-r--r-- | tests/submodule/submodule_helpers.c | 6 |
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) |
