diff options
| author | Matthew Wilcox <matthew@wil.cx> | 2007-08-15 22:56:54 +0400 |
|---|---|---|
| committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 22:51:29 +0400 |
| commit | a60ebc52cbfafc291c6b0b89e41ecaf3685c8e2a (patch) | |
| tree | 55b512e8de7ac38df5115b854890d82344070633 /scripts/basic/docproc.c | |
| parent | c131993b4cbfb6d564619e609b3d0b471ec52c5d (diff) | |
| download | linux-a60ebc52cbfafc291c6b0b89e41ecaf3685c8e2a.tar.xz | |
[SCSI] simscsi: Free scsi host on error
If scsi_add_host returned an error, the host would never be freed.
We need to call scsi_host_put() if an error happens.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
