mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-03-12 08:55:28 +00:00
Fix return type in wasm_loader_get_custom_section (#2794)
Should return NULL instead of false.
This commit is contained in:
parent
0bb157b88a
commit
e8c8f7fca6
|
@ -7026,7 +7026,7 @@ wasm_loader_get_custom_section(WASMModule *module, const char *name,
|
|||
section = section->next;
|
||||
}
|
||||
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user