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

- From: Martin K. Petersen \<hidden\>
- Date: 2021-08-24 03:22:37 
- List: linux-scsi
- Page: https://ratatoskr.run/linux-scsi/2021/08/1486510
- Thread: https://ratatoskr.run/linux-scsi/2021/08/1486510/t.md

```text

Keoseong,

> 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.

Applied to 5.15/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
```
