summaryrefslogtreecommitdiff
path: root/include/git2/buffer.h
diff options
context:
space:
mode:
authorSven Strickroth <email@cs-ware.de>2018-06-18 13:05:08 +0200
committerSven Strickroth <email@cs-ware.de>2018-06-18 13:05:08 +0200
commitb5818ddabd9273c71dfd248da92d1d13ac2ace42 (patch)
treec11b1fd249b2c47445a7090fa97ee098632179be /include/git2/buffer.h
parent96882f201a21ce2a07678b84cf1df0afa41402f9 (diff)
downloadlibgit2-b5818ddabd9273c71dfd248da92d1d13ac2ace42.tar.gz
Fix last references to deprecated git_buf_free
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'include/git2/buffer.h')
-rw-r--r--include/git2/buffer.h2
1 files changed, 1 insertions, 1 deletions
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