commit | 93f56089898a1b27fc0c89b5c1c748291353f679 | [log] [tgz] |
---|---|---|
author | Dave Jones <davej@redhat.com> | Thu Mar 09 10:21:27 2006 -0500 |
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | Sun Mar 12 09:25:40 2006 -0600 |
tree | 4c1280939653d737d3e79d65fd58c3301ec6d8bf | |
parent | a0b6b6e5308d6ef70febfc3cfd5488717809b3e4 [diff] |
[SCSI] fix two leaks in scsi_alloc_sdev failure paths If the scsi_alloc_queue or the slave_alloc calls in scsi_alloc_device fail, we forget to release the locally allocated sdev on the failure path. Coverity #609 Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>