change function name

This commit is contained in:
Xu Jun 2022-06-15 17:14:38 +08:00
parent 5f3397591f
commit 8266d15dea
4 changed files with 4 additions and 4 deletions

View File

@ -3296,7 +3296,7 @@ aot_unload(AOTModule *module)
#endif
#if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0
wasm_loader_destroy_custom_sections(module->custom_section_list);
wasm_runtime_destroy_custom_sections(module->custom_section_list);
#endif
wasm_runtime_free(module);

View File

@ -4908,7 +4908,7 @@ wasm_runtime_show_app_heap_corrupted_prompt()
#if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0
void
wasm_loader_destroy_custom_sections(WASMCustomSection *section_list)
wasm_runtime_destroy_custom_sections(WASMCustomSection *section_list)
{
WASMCustomSection *section = section_list, *next;
while (section) {

View File

@ -886,7 +886,7 @@ wasm_runtime_show_app_heap_corrupted_prompt();
#if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0
void
wasm_loader_destroy_custom_sections(WASMCustomSection *section_list);
wasm_runtime_destroy_custom_sections(WASMCustomSection *section_list);
#endif
#ifdef __cplusplus

View File

@ -3788,7 +3788,7 @@ wasm_loader_unload(WASMModule *module)
#endif
#if WASM_ENABLE_LOAD_CUSTOM_SECTION != 0
wasm_loader_destroy_custom_sections(module->custom_section_list);
wasm_runtime_destroy_custom_sections(module->custom_section_list);
#endif
wasm_runtime_free(module);