diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-06-18 12:33:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 12:33:34 +0100 |
commit | e212011b9872c52f6205d3a30b10f753c3108918 (patch) | |
tree | f9c802a5dbbfefe015cb0933f5cb4122b3c5f46d /src | |
parent | cc9c9522102ff30ee17582205f8acc79d0309462 (diff) | |
parent | b5818ddabd9273c71dfd248da92d1d13ac2ace42 (diff) | |
download | libgit2-e212011b9872c52f6205d3a30b10f753c3108918.tar.gz |
Merge pull request #4685 from csware/no-git_buf_free
Fix last references to deprecated git_buf_free
Diffstat (limited to 'src')
-rw-r--r-- | src/buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h index cc77fc030..7910b6338 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -76,7 +76,7 @@ extern char *git_buf_detach(git_buf *buf); extern int git_buf_attach(git_buf *buf, char *ptr, size_t asize); /* Populates a `git_buf` where the contents are not "owned" by the - * buffer, and calls to `git_buf_free` will not free the given buf. + * buffer, and calls to `git_buf_dispose` will not free the given buf. */ extern void git_buf_attach_notowned( git_buf *buf, const char *ptr, size_t size); |