diff options
Diffstat (limited to 'tests/apply/fromdiff.c')
-rw-r--r-- | tests/apply/fromdiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/apply/fromdiff.c b/tests/apply/fromdiff.c index 349773964..611060988 100644 --- a/tests/apply/fromdiff.c +++ b/tests/apply/fromdiff.c @@ -63,8 +63,8 @@ static int apply_gitbuf( } git__free(filename); - git_buf_free(&result); - git_buf_free(&patchbuf); + git_buf_dispose(&result); + git_buf_dispose(&patchbuf); git_patch_free(patch); return error; |