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

- From: Tomi Valkeinen \<hidden\>
- Date: 2015-01-13 13:15:42 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2015/01/4408719
- Thread: https://ratatoskr.run/linux-fbdev/2015/01/4407793/t.md

```text
On 12/01/15 17:27, Colin King wrote:
> From: Colin Ian King <redacted>
> 
> [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 <redacted>
> ---
>  drivers/video/fbdev/broadsheetfb.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

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

 Tomi



```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2015/01/4408719/attachment/0) (application/pgp-signature, 819 bytes)
