diff --git a/src/http/response_stream.zig b/src/http/response_stream.zig index 5a0bd0e..684f90b 100644 --- a/src/http/response_stream.zig +++ b/src/http/response_stream.zig @@ -138,7 +138,7 @@ pub fn ResponseStream(comptime BaseWriter: type) type { } } - pub fn close(self: *const Self) void { + pub fn close(self: *Self) void { self.allocator.free(self.buffer); } };