diff options
author | Christian Engelmayer <cengelma@gmx.at> | 2014-01-19 02:08:49 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2014-01-21 20:36:17 -0800 |
commit | 17a05cca99d952f5b4766fa48a2703548966636a (patch) | |
tree | 3ecdbd133cbeef9f4bc3fb0a8f1eea4f8e1defa5 /arch/m68k | |
parent | 5837c80e870bc3b12ac6a98cdc9ce7a9522a8fb6 (diff) | |
download | op-kernel-dev-17a05cca99d952f5b4766fa48a2703548966636a.zip op-kernel-dev-17a05cca99d952f5b4766fa48a2703548966636a.tar.gz |
block: Fix memory leak in rw_copy_check_uvector() handling
Fix a memory leak in the error handling path of function sg_io()
that is used during the processing of scsi ioctl. Memory already
allocated by rw_copy_check_uvector() needs to be freed correctly.
Detected by Coverity: CID 1128953.
Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions