diff options
author | Wenwei Tao <ww.tao0320@gmail.com> | 2015-11-28 16:49:23 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-29 14:34:57 -0700 |
commit | 8261bd48c6c9c36cd2c2e343a69e76a3be2b04a4 (patch) | |
tree | bc7135d65b0093ac658f0396f8391b95282d7919 /fs/efs | |
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>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions