summaryrefslogtreecommitdiff
path: root/src/register.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-05-20 13:33:15 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-20 13:33:15 -0600
commitffe3e090cd41d0977ca74fafcb452838f76ceea1 (patch)
tree8f7112ec415148635a7b64a5f74fa2a2951ee3f3 /src/register.c
parentc5145a82b4cd03d30c94eb012f4baeb7407b2490 (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