commit ae071fd6c0afd5fb052e20d618be2a2deddc2d75
parent ecda8aa72217680be74305deebaba6c5173b72e8
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 8 Jul 2021 21:57:10 -0400
bufio::buffered: don't free static streams
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/bufio/buffered.ha b/bufio/buffered.ha
@@ -141,7 +141,6 @@ fn buffered_close_static(s: *io::stream) void = {
if (s.writer != null) {
flush(s)!;
};
- free(s);
};
fn buffered_unwrap(s: *io::stream) *io::stream = {