Skip to content

Commit

Permalink
Fix return type in wasm_loader_get_custom_section (bytecodealliance#2794
Browse files Browse the repository at this point in the history
)

Should return NULL instead of false.
  • Loading branch information
no1wudi committed Nov 20, 2023
1 parent cec84fd commit 9511670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/iwasm/interpreter/wasm_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -7026,7 +7026,7 @@ wasm_loader_get_custom_section(WASMModule *module, const char *name,
section = section->next;
}

return false;
return NULL;
}
#endif

Expand Down

0 comments on commit 9511670

Please sign in to comment.