Use io_uring_free_probe()

parent 085ba7b4
......@@ -293,7 +293,7 @@ fellow_io_init(int fd, unsigned entries, void *base, size_t len,
io_uring_opcode_supported(probe, (int)IORING_OP_READ_FIXED))
rbc = fellow_io_uring_register_buffers_choice();
free(probe);
io_uring_free_probe(probe);
switch (rbc) {
case REGBUF_UNAVAIL:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment