Re: [PATCH] mfd: cros_ec: Fix leak in sequence_store()

2015-08-21 Thread Olof Johansson
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 > ---

Re: [PATCH] mfd: cros_ec: Fix leak in sequence_store()

2015-08-21 Thread Olof Johansson
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

[PATCH] mfd: cros_ec: Fix leak in sequence_store()

2015-07-18 Thread Christian Engelmayer
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 --- Compile tested only. Applies against linux-next. ---

[PATCH] mfd: cros_ec: Fix leak in sequence_store()

2015-07-18 Thread Christian Engelmayer
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 cenge...@gmx.at --- Compile tested only. Applies against linux-next. ---