diff options
Diffstat (limited to 'bfd/wasm-module.c')
-rw-r--r-- | bfd/wasm-module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/wasm-module.c b/bfd/wasm-module.c index fa8648b..ac78692 100644 --- a/bfd/wasm-module.c +++ b/bfd/wasm-module.c @@ -731,7 +731,7 @@ wasm_get_symbol_info (bfd *abfd ATTRIBUTE_UNUSED, /* Check whether ABFD is a WebAssembly module; if so, scan it. */ -static const bfd_target * +static bfd_cleanup wasm_object_p (bfd *abfd) { bfd_boolean error; @@ -761,7 +761,7 @@ wasm_object_p (bfd *abfd) if (s != NULL && wasm_scan_name_function_section (abfd, s)) abfd->flags |= HAS_SYMS; - return abfd->xvec; + return _bfd_no_cleanup; } /* BFD_JUMP_TABLE_WRITE */ |