diff options
author | 2023-10-06 20:14:44 -0700 | |
---|---|---|
committer | 2023-10-06 20:14:44 -0700 | |
commit | 25cf4016d34af21c5fdd76d0f7d58958ce19d882 (patch) | |
tree | d7693dbbb42ed09e9fc0cbd337b80af6fed5fc6b | |
parent | 48635fd9105c0f7cc2a47a2584123a175b43a04b (diff) | |
download | bun-25cf4016d34af21c5fdd76d0f7d58958ce19d882.tar.gz bun-25cf4016d34af21c5fdd76d0f7d58958ce19d882.tar.zst bun-25cf4016d34af21c5fdd76d0f7d58958ce19d882.zip |
Fix memory leak in fetch() (#6350)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
-rw-r--r-- | src/zlib.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/zlib.zig b/src/zlib.zig index 090d0f3a0..00617cf24 100644 --- a/src/zlib.zig +++ b/src/zlib.zig @@ -575,8 +575,6 @@ pub const ZlibReaderArrayList = struct { switch (rc) { ReturnCode.StreamEnd => { - this.state = State.End; - this.end(); return; }, |