Curl_saferealloc: Fixed typo in docblock

Closes #3029
This commit is contained in:
Erik Minekus 2018-09-21 14:20:18 +02:00 committed by Daniel Stenberg
parent 2097cd5152
commit 39c9140cce
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -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