diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-10-27 22:10:36 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-27 21:29:18 -0600 |
commit | 7b20238d28da46f394d37d4d51cc420e1ff9414a (patch) | |
tree | 94a5f93471b51d76560dfef1c66059d076f05394 /fs/nls/nls_cp852.c | |
parent | d6d5df1db6e9d7f8f76d2911707f7d5877251b02 (diff) |
io_uring: Fix leaked shadow_req
io_queue_link_head() owns shadow_req after taking it as an argument.
By not freeing it in case of an error, it can leak the request along
with taken ctx->refs.
Reviewed-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nls/nls_cp852.c')
0 files changed, 0 insertions, 0 deletions