summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ir/module-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/module-utils.h b/src/ir/module-utils.h
index 014fcb34c..703ae3e53 100644
--- a/src/ir/module-utils.h
+++ b/src/ir/module-utils.h
@@ -141,6 +141,7 @@ inline void clearModule(Module& wasm) {
wasm.userSections.clear();
wasm.debugInfoFileNames.clear();
wasm.updateMaps();
+ wasm.allocator.clear();
}
// Renaming