Messages in this thread | | | Subject | Re: [PATCH] scsi: ufs: ufshcd-pltfrm: fix memory leak due to probe defer | From | "Martin K. Petersen" <> | Date | Wed, 20 Oct 2021 23:14:00 -0400 |
| |
Srinivas,
>> UFS drivers that probe defer will endup leaking memory allocated for >> clk and regulator names via kstrdup because the structure that is >> holding this memory is allocated via devm_* variants which will be >> freed during probe defer but the names are never freed.
Applied to 5.16/scsi-staging, thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |