diff options
author | Pavel Begunkov <[email protected]> | 2019-10-27 22:10:36 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-10-27 21:29:18 -0600 |
commit | 7b20238d28da46f394d37d4d51cc420e1ff9414a (patch) | |
tree | 94a5f93471b51d76560dfef1c66059d076f05394 /drivers/usb/cdns3/cdns3-imx.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 <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions