commit | 76e25081b6ae60fb094328dedf900ec15f10a9fd | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Sat Nov 28 16:49:24 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Sun Nov 29 14:34:57 2015 -0700 |
tree | 4c693cb15ec6985872a862414eb79f62a18748c7 | |
parent | 8261bd48c6c9c36cd2c2e343a69e76a3be2b04a4 [diff] |
lightnvm: fix ioctl memory leaks If copy_to_user() fails we returned error but we missed releasing devices. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>