diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-02-12 12:13:31 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-18 10:52:10 -0600 |
commit | 75f8ee8e01a6c96652f27da40d4bdac9e2e485f0 (patch) | |
tree | 0052eea0bf0ad22577c0ef1e89f9a4297b05e96a /drivers/scsi/scsi_transport_srp.c | |
parent | 277e76f1821ab131a409c6a2e04492ef5774fb3c (diff) | |
download | talos-obmc-linux-75f8ee8e01a6c96652f27da40d4bdac9e2e485f0.tar.gz talos-obmc-linux-75f8ee8e01a6c96652f27da40d4bdac9e2e485f0.zip |
[SCSI] fix memory leak in scsi_report_lun_scan
This patch (as1333) fixes a bug in scsi_report_lun_scan(). If a
newly-allocated device can't be used, it should be deleted.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_transport_srp.c')
0 files changed, 0 insertions, 0 deletions