diff options
| author | 2023-05-06 13:19:11 -0700 | |
|---|---|---|
| committer | 2023-05-06 13:19:11 -0700 | |
| commit | 41a59d0d03cc1974914f5f718e9adc3e9f52eb20 (patch) | |
| tree | 19a954027959d5da930084fe144d7dcc7db5f9ef /src | |
| parent | 9c9425bc8cbafdf1c29a2e28e90fa7ae3ec1be01 (diff) | |
| download | bun-41a59d0d03cc1974914f5f718e9adc3e9f52eb20.tar.gz bun-41a59d0d03cc1974914f5f718e9adc3e9f52eb20.tar.zst bun-41a59d0d03cc1974914f5f718e9adc3e9f52eb20.zip | |
Fix a memory leak
Diffstat (limited to 'src')
| -rw-r--r-- | src/bun.js/api/JSBundler.zig | 1 |
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); |
