Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightnvm: free memory when gennvm register fails
free allocated nvm block and gennvm lun structures when gennvm register fails, otherwise it will cause memory leak. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
- Loading branch information