diff options
author | Keoseong Park <[email protected]> | 2021-08-23 18:07:14 +0900 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-08-24 22:56:32 -0400 |
commit | 6c9783e6296e8c7bf45464c00a52c457b4c321b5 (patch) | |
tree | 60f205dba9ff5dbeee0f5032a4627f08e9cb3105 /net/lapb/lapb_subr.c | |
parent | 1259d5f0f5ef1ce39463b9cf3db7a1757acbeb69 (diff) |
scsi: ufs: ufshpb: Fix possible memory leak
When HPB pinned region exists and mctx allocation for this region fails, a
memory leak is possible because memory is not released for the subregion
table of the current region.
Free memory for the subregion table of the current region.
Link: https://lore.kernel.org/r/1891546521.01629711601304.JavaMail.epsvc@epcpadp3
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Keoseong Park <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions