aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bun.js/api/JSBundler.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/api/JSBundler.zig b/src/bun.js/api/JSBundler.zig
index d73dc80fe..7db9702a7 100644
--- a/src/bun.js/api/JSBundler.zig
+++ b/src/bun.js/api/JSBundler.zig
@@ -491,6 +491,7 @@ pub const JSBundler = struct {
this.value.deinit();
if (this.completion) |completion|
completion.deref();
+ bun.default_allocator.destroy(this);
}
const AnyTask = JSC.AnyTask.New(@This(), runOnJSThread);