From 3226b4342b88e44764393a6a9e1af458d70fa5fe Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 Feb 2023 15:03:03 -0700 Subject: [PATCH] [wasm-shape] Use hb allocators --- src/hb-wasm-shape.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hb-wasm-shape.cc b/src/hb-wasm-shape.cc index adf24b9a6..acc75ba34 100644 --- a/src/hb-wasm-shape.cc +++ b/src/hb-wasm-shape.cc @@ -72,8 +72,6 @@ init_wasm () init_args.mem_alloc_option.allocator.realloc_func = (void *) hb_realloc; init_args.mem_alloc_option.allocator.free_func = (void *) hb_free; - init_args.mem_alloc_type = Alloc_With_System_Allocator; - // Native symbols need below registration phase init_args.n_native_symbols = ARRAY_LENGTH (_hb_wasm_native_symbols); init_args.native_module_name = "env";