diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-05-20 13:33:15 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-20 13:33:15 -0600 |
commit | ffe3e090cd41d0977ca74fafcb452838f76ceea1 (patch) | |
tree | 8f7112ec415148635a7b64a5f74fa2a2951ee3f3 /src/register.c | |
parent | c5145a82b4cd03d30c94eb012f4baeb7407b2490 (diff) |
Fix leak of fd in io_uring_queue_init() on failure
If the ring setup fails, close the fd before returning failure.
Reported-by: Kornilios Kourtis <kkourt@kkourt.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/register.c')
0 files changed, 0 insertions, 0 deletions