Skip to content

Commit

Permalink
Curl_saferealloc: Fixed typo in docblock
Browse files Browse the repository at this point in the history
Closes #3029
  • Loading branch information
ErikMinekus authored and bagder committed Sep 21, 2018
1 parent 2097cd5 commit 39c9140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/strdup.c
Expand Up @@ -81,7 +81,7 @@ void *Curl_memdup(const void *src, size_t length)
* Curl_saferealloc(ptr, size)
*
* Does a normal realloc(), but will free the data pointer if the realloc
* fails. If 'size' is zero, it will free the data and return a failure.
* fails. If 'size' is non-zero, it will free the data and return a failure.
*
* This convenience function is provided and used to help us avoid a common
* mistake pattern when we could pass in a zero, catch the NULL return and end
Expand Down

0 comments on commit 39c9140

Please sign in to comment.