Commits
![Wei Yongjun](https://secure.gravatar.com/avatar/ceba43c85d4097c271d526e797b33911.jpg?s=96&d=mm)
Wei Yongjun committed 5d9e06d60ee
bcache: fix possible memory leak in bch_cached_dev_run() memory malloced in bch_cached_dev_run() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Fixes: 0b13efecf5f2 ("bcache: add return value check to bch_cached_dev_run()") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>