summaryrefslogtreecommitdiff
path: root/drivers/video/tcx.c
diff options
context:
space:
mode:
authorBrian King <brking@us.ibm.com>2005-12-12 19:05:08 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-12 20:35:39 (GMT)
commit66e05225262cd9271fac13fe2fd1e9edb65e3978 (patch)
treed2eefc27030003707b7c230897d206c8dfbeda6f /drivers/video/tcx.c
parent49d7bc64283970ee83d2c954d04ba00d04e5943d (diff)
downloadlinux-66e05225262cd9271fac13fe2fd1e9edb65e3978.tar.xz
[PATCH] Fix SCSI scanning slab corruption
There is a double free in the scsi scan code if a LLDD's slave_alloc() call fails. There is a direct call to scsi_free_queue and then the following put_device calls the release function, which also frees the queue. Remove the redundant scsi_free_queue. Signed-off-by: Brian King <brking@us.ibm.com> Tested-by: Nathan Lynch <ntl@pobox.com> [ Also removed some strange whitespace artifacts in that area ] Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/tcx.c')
0 files changed, 0 insertions, 0 deletions