MdeModulePkg BrotliLib: Rename function with the specific lib name
[mirror_edk2.git] / MdeModulePkg / Library / BrotliCustomDecompressLib / dec / state.c
index e7e5e3c..dbe4a36 100644 (file)
@@ -18,12 +18,12 @@ extern "C" {
 \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