summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristian Engelmayer <cengelma@gmx.at>2014-01-19 02:08:49 +0100
committerJens Axboe <axboe@kernel.dk>2014-01-21 20:36:17 -0800
commit17a05cca99d952f5b4766fa48a2703548966636a (patch)
tree3ecdbd133cbeef9f4bc3fb0a8f1eea4f8e1defa5 /tools
parent5837c80e870bc3b12ac6a98cdc9ce7a9522a8fb6 (diff)
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 'tools')
0 files changed, 0 insertions, 0 deletions