Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information