Re: [PATCH v2] scsi: ufs: ufshpb: Fix possible memory leak

From: Bart Van Assche
Date: Mon Aug 23 2021 - 12:19:53 EST


On 8/23/21 2:07 AM, Keoseong Park wrote:
When HPB pinned region exists and mctx allocation for this region fails,
memory leak is possible because memory is not released for the subregion
table of the current region.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>