brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) {\r
BrotliDecoderState* state = 0;\r
if (!alloc_func && !free_func) {\r
- state = (BrotliDecoderState*)malloc(sizeof(BrotliDecoderState));\r
+ state = (BrotliDecoderState*)BrDummyMalloc(sizeof(BrotliDecoderState));\r
} else if (alloc_func && free_func) {\r
state = (BrotliDecoderState*)alloc_func(opaque, sizeof(BrotliDecoderState));\r
}\r