diff options
Diffstat (limited to 'c/include/brotli/decode.h')
-rw-r--r-- | c/include/brotli/decode.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/include/brotli/decode.h b/c/include/brotli/decode.h index d1d21c4..ac4fe90 100644 --- a/c/include/brotli/decode.h +++ b/c/include/brotli/decode.h @@ -159,10 +159,11 @@ BROTLI_DEC_API BROTLI_BOOL BrotliDecoderSetParameter( * * @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 ::BrotliDecoderState otherwise |