diff options
author | 2021-05-27 21:35:28 -0700 | |
---|---|---|
committer | 2021-05-27 21:35:28 -0700 | |
commit | cbf0b77e52d77ae8a0fe00606e7be2d2af39b83c (patch) | |
tree | 405873010d4a64741ecb2891045c7b261e923ca3 /src/bundler.zig | |
parent | b6e7f01e6ae61bd47b23b918d86d511c390e3510 (diff) | |
download | bun-cbf0b77e52d77ae8a0fe00606e7be2d2af39b83c.tar.gz bun-cbf0b77e52d77ae8a0fe00606e7be2d2af39b83c.tar.zst bun-cbf0b77e52d77ae8a0fe00606e7be2d2af39b83c.zip |
lists
Diffstat (limited to 'src/bundler.zig')
-rw-r--r-- | src/bundler.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bundler.zig b/src/bundler.zig index 4e68964df..dcb5a25c5 100644 --- a/src/bundler.zig +++ b/src/bundler.zig @@ -247,7 +247,10 @@ pub const Bundler = struct { const output_file = try bundler.print( result, ); + js_ast.Stmt.Data.Store.reset(); + js_ast.Expr.Data.Store.reset(); + return output_file; } @@ -286,6 +289,7 @@ pub const Bundler = struct { js_printer.Options{ .to_module_ref = Ref.RuntimeRef }, &_linker, ); + // allocator.free(result.source.contents); return options.OutputFile{ .path = out_path, |