summaryrefslogtreecommitdiffstats
path: root/lib/debug_info.c
diff options
context:
space:
mode:
authorJavier González <jg@lightnvm.io>2017-04-22 01:32:47 +0200
committerJens Axboe <axboe@fb.com>2017-04-24 00:57:52 +0200
commit33db9fd46ea8e3e6d4757d99a3f97bd1a0c919f3 (patch)
treee208433154c5ed4f4bbe9ede6eed20032324b6a4 /lib/debug_info.c
parentlightnvm: pblk: fix bad error check (diff)
downloadlinux-33db9fd46ea8e3e6d4757d99a3f97bd1a0c919f3.tar.xz
linux-33db9fd46ea8e3e6d4757d99a3f97bd1a0c919f3.zip
lightnvm: pblk: fix memory leak on error path
When write recovery fails, Free memory for the recovery structure. Fixes: a4bd217b4326 "lightnvm: physical block device (pblk) target" Signed-off-by: Javier González <javier@cnexlabs.com> Reviewed-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib/debug_info.c')
0 files changed, 0 insertions, 0 deletions