diff options
Diffstat (limited to 'src/revert.c')
| -rw-r--r-- | src/revert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/revert.c b/src/revert.c index 54f6d48e4..e4cbcf507 100644 --- a/src/revert.c +++ b/src/revert.c @@ -36,7 +36,7 @@ static int write_revert_head( if (error < 0) git_filebuf_cleanup(&file); - git_buf_free(&file_path); + git_buf_dispose(&file_path); return error; } @@ -62,7 +62,7 @@ cleanup: if (error < 0) git_filebuf_cleanup(&file); - git_buf_free(&file_path); + git_buf_dispose(&file_path); return error; } @@ -219,7 +219,7 @@ done: git_index_free(index); git_commit_free(our_commit); git_reference_free(our_ref); - git_buf_free(&their_label); + git_buf_dispose(&their_label); return error; } |
