Does send_recv.c test missing a call for io_uring_queue_exit()? #718
-
Hey everyone, Im pretty new here, sorry if im asking this in the wrong place. I've seen the function do_send() allocates a ring via io_uring_queue_init() call. Its not a big issue (doesn't impact the test correctness by any means) but i'd still like to fix this incase its wrong. Please let me know if this is wrong, and ill open a PR. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, we are leaking a ring in do_send(). While it is not a serious issue as it is just a test program, I think we should start being serious in writing them, especially people will rely on the those tests when looking for examples.
Yes, it is wrong. Go ahead create a PR. |
Beta Was this translation helpful? Give feedback.
Yes, we are leaking a ring in do_send(). While it is not a serious issue as it is just a test program, I think we should start being serious in writing them, especially people will rely on the those tests when looking for examples.
Yes, it is wrong. Go ahead create a PR.