Skip to content

Commit

Permalink
Fix leaking fds for io urings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Maier committed Aug 29, 2024
1 parent 28383bd commit 9a6e380
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions env/io_posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ const unsigned int kIoUringDepth = 256;

inline void DeleteIOUring(void* p) {
struct io_uring* iu = static_cast<struct io_uring*>(p);
io_uring_queue_exit(iu);
delete iu;
}

Expand Down

0 comments on commit 9a6e380

Please sign in to comment.