Colin Ian King 0ec6937e8e lightnvm: pblk: fix resource leak of invalid_bitmap
Currently the error exit path when the emeta could not be
interpreted is via fail_free_ws and this fails to free
invalid_bitmap.  Fix this by adding another exit label and
exiting via this to kfree invalid_bitmap.

Detected by CoverityScan, CID#1469659 ("Resource leak")

Fixes: 48b8d20895f8 ("lightnvm: pblk: garbage collect lines with failed writes")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-06-05 09:20:27 -06:00
..
2018-06-04 07:58:06 -07:00
2018-05-29 09:59:53 -04:00
2018-04-19 15:11:50 -07:00
2018-04-04 20:07:20 -07:00
2018-03-27 09:51:22 +02:00
2018-04-09 11:42:31 -07:00
2018-05-29 20:14:32 +02:00
2018-06-02 09:55:44 -07:00
2018-06-04 07:58:06 -07:00
2018-04-04 20:07:20 -07:00
2018-05-07 05:33:29 -10:00
2018-04-04 20:07:20 -07:00
2018-04-05 21:29:35 -07:00
2018-04-05 21:21:08 -07:00
2018-04-05 21:21:08 -07:00
2018-04-13 15:46:21 -07:00
2018-05-15 13:56:16 -06:00
2018-06-02 10:12:23 -07:00
2018-06-02 09:55:44 -07:00
2018-06-04 07:58:06 -07:00
2018-04-11 18:58:27 -07:00
2018-03-29 13:38:10 +03:00