C API: wasm_module_imports leaks memory #2469
Labels
🛑 blocked
bug
Something isn't working
📦 lib-c-api
About wasmer-c-api
priority-high
High priority issue
Milestone
wasmer 2.0.0
To reproduce, compile the following program with clang's (or gcc's) address sanitizer.
/tmp/e2.wasm
has 2 imports.C code:
Compilation line:
Errors:
C code compiled to wasm using wasi-sdk:
Resulting wasm:
The text was updated successfully, but these errors were encountered: