[lkml]   [2018]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][next] lightnvm: pblk: fix resource leak of invalid_bitmap
On 6/5/18 9:14 AM, Colin King wrote:
> From: Colin Ian King <>
> 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")

Looks good, applied.

Jens Axboe

 \ /
  Last update: 2018-06-05 17:21    [W:0.022 / U:35.416 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site