Fix return type in wasm_loader_get_custom_section (#2794)

Should return NULL instead of false.
This commit is contained in:
Huang Qi 2023-11-20 10:36:15 +08:00 committed by GitHub
parent 0bb157b88a
commit e8c8f7fca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7026,7 +7026,7 @@ wasm_loader_get_custom_section(WASMModule *module, const char *name,
section = section->next;
}
return false;
return NULL;
}
#endif