From: Christian Engelmayer Date: Sun, 19 Jan 2014 01:08:49 +0000 (+0100) Subject: block: Fix memory leak in rw_copy_check_uvector() handling X-Git-Tag: v3.14-rc1~43^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17a05cca99d952f5b4766fa48a2703548966636a;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed