diff options
author | Colin Ian King | 2015-01-12 15:27:52 +0000 |
---|---|---|
committer | Tomi Valkeinen | 2015-01-13 15:13:45 +0200 |
commit | ef6899cdc8608e2f018e590683f04bb04a069704 (patch) | |
tree | 55490e4be0be2e27c8030e27508128d5321e83d6 /fs/bad_inode.c | |
parent | d9e020197d371c90ad56cc4be388fc95e0c08e6f (diff) |
fbdev/broadsheetfb: fix memory leak
static code analysis from cppcheck reports:
[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@canonical.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions