fix fd leak
This commit is contained in:
parent
a8f57197a7
commit
56cd0714ac
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ pub const EventPoller = struct {
|
|||
.allocator = self.allocator,
|
||||
.connection_pool = self.connection_pool,
|
||||
};
|
||||
defer client.deinit();
|
||||
var arena = std.heap.ArenaAllocator.init(self.allocator);
|
||||
defer arena.deinit();
|
||||
const aa = arena.allocator();
|
||||
|
|
Loading…
Add table
Reference in a new issue