diff options
author | Su Hui <[email protected]> | 2023-06-08 10:19:34 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-06-16 16:36:45 +0200 |
commit | 5b00369fcf6d1ff9050b94800dc596925ff3623f (patch) | |
tree | 3f305fd30211eefc1f385d1e7e1ff9d8603ea2ad /drivers/gpu/drm/tilcdc/tilcdc_plane.c | |
parent | 858fd168a95c5b9669aac8db6c14a9aeab446375 (diff) |
iommu/amd: Fix possible memory leak of 'domain'
Move allocation code down to avoid memory leak.
Fixes: 29f54745f245 ("iommu/amd: Add missing domain type checks")
Signed-off-by: Su Hui <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Reviewed-by: Vasant Hegde <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_plane.c')
0 files changed, 0 insertions, 0 deletions