deinit the client
This commit is contained in:
parent
dcf57cfea9
commit
6752730cd1
|
@ -12,6 +12,7 @@ pub fn main() !u8 {
|
||||||
defer arena.deinit();
|
defer arena.deinit();
|
||||||
const allocator = arena.allocator();
|
const allocator = arena.allocator();
|
||||||
var client = std.http.Client{ .allocator = allocator };
|
var client = std.http.Client{ .allocator = allocator };
|
||||||
|
defer client.deinit();
|
||||||
// .allocator = allocator,
|
// .allocator = allocator,
|
||||||
// .proxy = .{
|
// .proxy = .{
|
||||||
// .protocol = .plain,
|
// .protocol = .plain,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user