1/* Copyright 2016 Google Inc. All Rights Reserved. 2 3 Distributed under MIT license. 4 See file LICENSE for detail or copy at https://opensource.org/licenses/MIT 5*/ 6 7#include "platform.h" 8 9/* Default brotli_alloc_func */ 10void* BrotliDefaultAllocFunc(void* opaque, size_t size) { 11 BROTLI_UNUSED(opaque); 12 return malloc(size); 13} 14 15/* Default brotli_free_func */ 16void BrotliDefaultFreeFunc(void* opaque, void* address) { 17 BROTLI_UNUSED(opaque); 18 free(address); 19} 20 21