X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FLibrary%2FBrotliCustomDecompressLib%2Fdec%2Fstate.c;h=dbe4a363e30ae24f1f2a1b5a8de2aae1ee2bb7cb;hp=e7e5e3cc72f6d0ae99e6f97abbf752ba5b00014d;hb=792ace0ac391c37c1299322340abdf74e2603795;hpb=89b1612fcf76b8b30d4770c982bcb9dd6ca47cf5 diff --git a/MdeModulePkg/Library/BrotliCustomDecompressLib/dec/state.c b/MdeModulePkg/Library/BrotliCustomDecompressLib/dec/state.c index e7e5e3cc72..dbe4a363e3 100644 --- a/MdeModulePkg/Library/BrotliCustomDecompressLib/dec/state.c +++ b/MdeModulePkg/Library/BrotliCustomDecompressLib/dec/state.c @@ -18,12 +18,12 @@ extern "C" { static void* DefaultAllocFunc(void* opaque, size_t size) { BROTLI_UNUSED(opaque); - return malloc(size); + return BrDummyMalloc(size); } static void DefaultFreeFunc(void* opaque, void* address) { BROTLI_UNUSED(opaque); - free(address); + BrDummyFree(address); } void BrotliDecoderStateInit(BrotliDecoderState* s) {