lkml.org 
[lkml]   [2014]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: Fix memory leak in rw_copy_check_uvector() handling
On Sun, Jan 19 2014, Christian Engelmayer wrote:
> 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.

Applied, thanks.

--
Jens Axboe



\
 
 \ /
  Last update: 2014-01-22 06:01    [W:0.030 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site