diff options
Diffstat (limited to 'include/git2')
| -rw-r--r-- | include/git2/blob.h | 2 | ||||
| -rw-r--r-- | include/git2/buffer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/blob.h b/include/git2/blob.h index 70204c440..ff1a4818f 100644 --- a/include/git2/blob.h +++ b/include/git2/blob.h @@ -105,7 +105,7 @@ GIT_EXTERN(git_off_t) git_blob_rawsize(const git_blob *blob); * attributes set for the blob and the content detected in it. * * The output is written into a `git_buf` which the caller must free - * when done (via `git_buf_free`). + * when done (via `git_buf_dispose`). * * If no filters need to be applied, then the `out` buffer will just * be populated with a pointer to the raw content of the blob. In diff --git a/include/git2/buffer.h b/include/git2/buffer.h index 41cd126b3..c06e2b299 100644 --- a/include/git2/buffer.h +++ b/include/git2/buffer.h @@ -25,7 +25,7 @@ GIT_BEGIN_DECL * caller and have the caller take responsibility for freeing that memory. * This can be awkward if the caller does not have easy access to the same * allocation functions that libgit2 is using. In those cases, libgit2 - * will fill in a `git_buf` and the caller can use `git_buf_free()` to + * will fill in a `git_buf` and the caller can use `git_buf_dispose()` to * release it when they are done. * * A `git_buf` may also be used for the caller to pass in a reference to |
