Skip to content

Commit

Permalink
io_uring_free_probe()
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuiba committed Jul 12, 2024
1 parent f621218 commit 6274683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/iouring-wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class iouringEngine : public MasterEventEngine, public CascadingEventEngine, pub
if (probe == nullptr) {
LOG_ERROR_RETURN(0, -1, "iouring: failed to get probe");
}
DEFER(free(probe));
DEFER(io_uring_free_probe(probe));
if (!io_uring_opcode_supported(probe, IORING_OP_PROVIDE_BUFFERS) ||
!io_uring_opcode_supported(probe, IORING_OP_ASYNC_CANCEL)) {
LOG_ERROR_RETURN(0, -1, "iouring: some opcodes are not supported");
Expand Down

0 comments on commit 6274683

Please sign in to comment.