Set is_binary_freeable in load_from_sections

This commit is contained in:
James Marsh 2025-09-01 20:10:07 +01:00
parent 6c3f6fd017
commit d670ca4414

View File

@ -3997,6 +3997,7 @@ load_from_sections(AOTModule *module, AOTSection *sections,
AOTFuncType *func_type;
AOTExport *exports;
uint8 malloc_free_io_type = VALUE_TYPE_I32;
module->is_binary_freeable = !is_load_from_file_buf;
while (section) {
buf = section->section_body;