Re: [PATCH] iommu/sva: Fix memory leak in iommu_sva_bind_device()
From: Baolu Lu
Date: Wed Dec 13 2023 - 08:58:50 EST
On 2023/12/13 19:14, Harshit Mogalapalli wrote:
Free the handle when the domain allocation fails before unlocking and
returning.
Fixes: 092edaddb660 ("iommu: Support mm PASID 1:n with sva domains")
Signed-off-by: Harshit Mogalapalli<harshit.m.mogalapalli@xxxxxxxxxx>
Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
Best regards,
baolu