mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-25 10:21:16 +00:00
Fix allocate zero size memory warning reported by wasm_runtime_malloc
when allocating the import fun pointers if the import func count is 0:
`warning: wasm_runtime_malloc with size zero`
|
||
|---|---|---|
| .. | ||
| iwasm_interp.cmake | ||
| SConscript | ||
| wasm_interp_classic.c | ||
| wasm_interp_fast.c | ||
| wasm_interp.h | ||
| wasm_loader.c | ||
| wasm_loader.h | ||
| wasm_mini_loader.c | ||
| wasm_opcode.h | ||
| wasm_runtime.c | ||
| wasm_runtime.h | ||
| wasm.h | ||