aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/wasm-module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/wasm-module.c b/bfd/wasm-module.c
index 2c2c6c7..c96665b 100644
--- a/bfd/wasm-module.c
+++ b/bfd/wasm-module.c
@@ -359,6 +359,7 @@ wasm_scan_name_function_section (bfd *abfd, sec_ptr asect)
error_return:
if (symbols)
bfd_release (abfd, symbols);
+ tdata->symcount = 0;
return false;
}