Skip to content
Commit 76e25081 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Jens Axboe
Browse files

lightnvm: fix ioctl memory leaks



If copy_to_user() fails we returned error but we missed releasing
devices.

Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarMatias Bjørling <m@bjorling.me>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 8261bd48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment