summaryrefslogtreecommitdiff
path: root/src/wasm-ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-ast.c')
-rw-r--r--src/wasm-ast.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wasm-ast.c b/src/wasm-ast.c
index 12febdb0..bd3c90a5 100644
--- a/src/wasm-ast.c
+++ b/src/wasm-ast.c
@@ -513,7 +513,6 @@ void wasm_destroy_global(WasmAllocator* allocator, WasmGlobal* global) {
}
void wasm_destroy_import(WasmAllocator* allocator, WasmImport* import) {
- wasm_destroy_string_slice(allocator, &import->name);
wasm_destroy_string_slice(allocator, &import->module_name);
wasm_destroy_string_slice(allocator, &import->field_name);
switch (import->kind) {