Re: [PATCH][RESEND] static code analysis from cppcheck reports:

From: Tomi Valkeinen
Date: Tue Jan 13 2015 - 08:15:44 EST


On 12/01/15 17:27, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> [drivers/video/fbdev/broadsheetfb.c:673]:
> (error) Memory leak: sector_buffer
>
> sector_buffer is not being kfree'd on each call to
> broadsheet_spiflash_rewrite_sector(), so free it.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/video/fbdev/broadsheetfb.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)

Thanks, I've queued this for 3.19 fbdev fixes.

Tomi



Attachment: signature.asc
Description: OpenPGP digital signature