Christian Engelmayer 17a05cca99 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>
2014-01-21 20:36:17 -08:00
..
2013-11-08 08:59:58 -07:00
2013-11-23 22:33:47 -08:00
2013-11-23 22:33:47 -08:00
2014-01-08 20:17:46 -07:00
2013-11-23 22:33:47 -08:00