diff --git a/lib/std/compress/zlib.zig b/lib/std/compress/zlib.zig index c4228ded26..d4bac4a8a4 100644 --- a/lib/std/compress/zlib.zig +++ b/lib/std/compress/zlib.zig @@ -62,7 +62,7 @@ pub fn ZlibStream(comptime ReaderType: type) type { }; } - fn deinit(self: *Self) void { + pub fn deinit(self: *Self) void { self.allocator.free(self.window_slice); }