Skip to content

Commit 4500f7b

Browse files
committed
formatting
1 parent ed551fe commit 4500f7b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

core/iwasm/interpreter/wasm_loader.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5604,10 +5604,11 @@ read_code_metadata_section(const uint8 *buf, const uint8 *buf_end,
56045604

56055605
uint32 num_hints;
56065606
read_leb_uint32(buf, buf_end, num_hints);
5607-
void* new_hints = loader_malloc(
5608-
hint_struct_size * num_hints, error_buf, error_buf_size);
5607+
void *new_hints = loader_malloc(hint_struct_size * num_hints, error_buf,
5608+
error_buf_size);
56095609
for (uint32 j = 0; j < num_hints; ++j) {
5610-
struct WASMCompilationHint *new_hint = new_hints + j * hint_struct_size;
5610+
struct WASMCompilationHint *new_hint =
5611+
new_hints + j * hint_struct_size;
56115612
new_hint->next = NULL;
56125613
new_hint->used = false;
56135614
read_leb_uint32(buf, buf_end, new_hint->offset);
@@ -7648,7 +7649,7 @@ wasm_loader_unload(WASMModule *module)
76487649
curr = curr->next;
76497650
}
76507651
wasm_runtime_free(last_chain_start);
7651-
}
7652+
}
76527653
}
76537654
if (module->function_hints != NULL)
76547655
wasm_runtime_free(module->function_hints);

0 commit comments

Comments
 (0)