pub fn deinit(self: *BufferGroup, allocator: Allocator) void self: *BufferGroupallocator: Allocator1680
1681
1682
1683
1684 pub fn deinit(self: *BufferGroup, allocator: Allocator) void {
free_buf_ring(self.ring.fd, self.br, self.buffers_count, self.group_id);
allocator.free(self.buffers);
allocator.free(self.heads);
}