https://github.com/torvalds/linux
Revision ef6899cdc8608e2f018e590683f04bb04a069704 authored by Colin Ian King on 12 January 2015, 15:27:52 UTC, committed by Tomi Valkeinen on 13 January 2015, 13:13:45 UTC
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>
1 parent d9e0201
History
Tip revision: ef6899cdc8608e2f018e590683f04bb04a069704 authored by Colin Ian King on 12 January 2015, 15:27:52 UTC
fbdev/broadsheetfb: fix memory leak
Tip revision: ef6899c
File Mode Size
Makefile -rw-r--r-- 377 bytes
compat.c -rw-r--r-- 19.1 KB
compat_mq.c -rw-r--r-- 3.9 KB
ipc_sysctl.c -rw-r--r-- 5.4 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 35.3 KB
msg.c -rw-r--r-- 23.2 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.0 KB
sem.c -rw-r--r-- 55.2 KB
shm.c -rw-r--r-- 32.5 KB
syscall.c -rw-r--r-- 2.3 KB
util.c -rw-r--r-- 21.1 KB
util.h -rw-r--r-- 6.4 KB

back to top