diff options
Diffstat (limited to 'c/include/brotli/encode.h')
-rw-r--r-- | c/include/brotli/encode.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/include/brotli/encode.h b/c/include/brotli/encode.h index df89928..8849de2 100644 --- a/c/include/brotli/encode.h +++ b/c/include/brotli/encode.h @@ -209,10 +209,11 @@ BROTLI_ENC_API BROTLI_BOOL BrotliEncoderSetParameter( * * @p alloc_func and @p free_func @b MUST be both zero or both non-zero. In the * case they are both zero, default memory allocators are used. @p opaque is - * passed to @p alloc_func and @p free_func when they are called. + * passed to @p alloc_func and @p free_func when they are called. @p free_func + * should return without doing anything when asked to free a NULL pointer. * * @param alloc_func custom memory allocation function - * @param free_func custom memory fee function + * @param free_func custom memory free function * @param opaque custom memory manager handle * @returns @c 0 if instance can not be allocated or initialized * @returns pointer to initialized ::BrotliEncoderState otherwise |