\r
#include "./state.h"\r
\r
-#include <stdlib.h> /* free, malloc */\r
+//#include <stdlib.h> /* free, malloc */\r
+#include <BrotliDecompressLibInternal.h>\r
\r
#include "../common/types.h"\r
#include "./huffman.h"\r
\r
static void* DefaultAllocFunc(void* opaque, size_t size) {\r
BROTLI_UNUSED(opaque);\r
- return malloc(size);\r
+ return BrDummyMalloc(size);\r
}\r
\r
static void DefaultFreeFunc(void* opaque, void* address) {\r
BROTLI_UNUSED(opaque);\r
- free(address);\r
+ BrDummyFree(address);\r
}\r
\r
void BrotliDecoderStateInit(BrotliDecoderState* s) {\r