MdeModulePkg BrotliLib: Rename function with the specific lib name
[mirror_edk2.git] / MdeModulePkg / Library / BrotliCustomDecompressLib / dec / decode.c
index 6557ba6..3bee3e7 100644 (file)
@@ -56,7 +56,7 @@ BrotliDecoderState* BrotliDecoderCreateInstance(
     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