diff options
author | 2021-11-27 01:12:58 -0800 | |
---|---|---|
committer | 2021-12-16 19:18:51 -0800 | |
commit | 809c1e46d8c7a144156e5f6d8ad89351b5f7d740 (patch) | |
tree | 9b56e67442c8632d85b0f07641ab949334b637fa /src/libarchive | |
parent | c0560931255c0d303df7478b1778c0e54759f010 (diff) | |
download | bun-809c1e46d8c7a144156e5f6d8ad89351b5f7d740.tar.gz bun-809c1e46d8c7a144156e5f6d8ad89351b5f7d740.tar.zst bun-809c1e46d8c7a144156e5f6d8ad89351b5f7d740.zip |
[npm install] starting to look good!
Diffstat (limited to 'src/libarchive')
-rw-r--r-- | src/libarchive/libarchive.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libarchive/libarchive.zig b/src/libarchive/libarchive.zig index 87580a423..6c804dfd1 100644 --- a/src/libarchive/libarchive.zig +++ b/src/libarchive/libarchive.zig @@ -267,9 +267,9 @@ pub const BufferReadStream = struct { pub fn deinit(this: *BufferReadStream) void { _ = lib.archive_read_close(this.archive); // don't free it if we never actually read it - if (this.reading) { - _ = lib.archive_read_free(this.archive); - } + // if (this.reading) { + // _ = lib.archive_read_free(this.archive); + // } } pub fn openRead(this: *BufferReadStream) c_int { |