diff --git a/src/root.zig b/src/root.zig index d80fcff..d62207c 100644 --- a/src/root.zig +++ b/src/root.zig @@ -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();