diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2015-06-25 15:26:43 -0400 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-06-25 15:26:43 -0400 |
| commit | 87987fd1e0f00a85c5fa16a96ca52decede629ae (patch) | |
| tree | f6c7031ea2e936a5c73dd247d038d43a1b57780b /src/buffer.h | |
| parent | daacf96d101b9d2100a5028090b5af5249d8893d (diff) | |
| parent | 3cf91d98e28f2519e69c9ce77a6d6454adc713d7 (diff) | |
| download | libgit2-87987fd1e0f00a85c5fa16a96ca52decede629ae.tar.gz | |
Merge pull request #3246 from libgit2/cmn/dont-grow-borrowed
Don't allow growing borrowed buffers
Diffstat (limited to 'src/buffer.h')
| -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 093ed9b60..e46ee5dd7 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -59,7 +59,7 @@ extern int git_buf_grow_by(git_buf *buffer, size_t additional_size); * into the newly allocated buffer. */ extern int git_buf_try_grow( - git_buf *buf, size_t target_size, bool mark_oom, bool preserve_external); + git_buf *buf, size_t target_size, bool mark_oom); /** * Sanitizes git_buf structures provided from user input. Users of the |
