Re: [PATCH] scsi: ufs: ufshcd-pltfrm: fix memory leak due to probe defer
From: Martin K. Petersen
Date: Wed Oct 20 2021 - 23:14:21 EST
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