From 61cd9099e2edfc363a932b3726e127c9ba3d6ee9 Mon Sep 17 00:00:00 2001 From: Timon Kruiper Date: Tue, 8 Sep 2020 15:41:07 +0200 Subject: [PATCH] Zlib: Make deinit function public --- lib/std/compress/zlib.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }