Fix return type in wasm_loader_get_custom_section (#2794)
Should return NULL instead of false.
This commit is contained in:
@ -7026,7 +7026,7 @@ wasm_loader_get_custom_section(WASMModule *module, const char *name,
|
|||||||
section = section->next;
|
section = section->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user