diff options
| author | Don Brace <[email protected]> | 2023-04-28 10:37:04 -0500 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-05-08 07:17:11 -0400 |
| commit | 2312e844dc8d5fd66f179baa3d848d2613e4f81f (patch) | |
| tree | 1ab94fcdec650583227c38ded03423fdf871454e /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 889cda36db99e3ef0c9a6d2e6c64de725913394b (diff) | |
scsi: smartpqi: Fix rare SAS transport memory leak
Free rphy when pqi_sas_port_add_rphy() returns an error.
If pqi_sas_port_add_rphy() returns an error, the 'rphy' allocated in
sas_end_device_alloc() needs to be freed.
It should be noted that no issues were ever reported.
Reviewed-by: Scott Benesh <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Reviewed-by: Mike McGowen <[email protected]>
Reviewed-by: Kevin Barnett <[email protected]>
Suggested-by: Yang Yingliang <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions