lkml.org 
[lkml]   [2015]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mfd: cros_ec: Fix leak in sequence_store()
On Sat, Jul 18, 2015 at 07:30:33PM +0200, Christian Engelmayer wrote:
> The allocated cros_ec_command message structure is not freed in function
> sequence_store(). Make sure that 'msg' is freed in all exit paths.
> Detected by Coverity CID 1309667.
>
> Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
> ---
> Compile tested only. Applies against linux-next.

Applied with adjusted patch subject (platform/chrome: cros_ec: ..)


-Olof


\
 
 \ /
  Last update: 2015-08-21 19:21    [W:0.261 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site