Re: bfd_cleanup for object_p
[deliverable/binutils-gdb.git] / bfd / wasm-module.c
index fa8648b9acd7d2f7fcf767484b402a82dc1bbd89..ac78692816e9c9a1c05f3d14ea511437e0b78a79 100644 (file)
@@ -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 */
This page took 0.03322 seconds and 4 git commands to generate.