commit | 8261bd48c6c9c36cd2c2e343a69e76a3be2b04a4 | [log] [tgz] |
---|---|---|
author | Wenwei Tao <ww.tao0320@gmail.com> | Sat Nov 28 16:49:23 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Sun Nov 29 14:34:57 2015 -0700 |
tree | bc7135d65b0093ac658f0396f8391b95282d7919 | |
parent | c4699e70d1db14119708dae76dac7c43e1e12988 [diff] |
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>