diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-01-06 21:33:30 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-07 10:45:14 +0100 |
commit | ff288b274a9b383046fdbda4be3067daba4d5fe8 (patch) | |
tree | 9b140f23d6e3bf325ed4f8978a3ddc14c8ccd16d /include/asm-xtensa/auxvec.h | |
parent | ftrace: convert unsigned index to signed (diff) | |
download | linux-ff288b274a9b383046fdbda4be3067daba4d5fe8.tar.xz linux-ff288b274a9b383046fdbda4be3067daba4d5fe8.zip |
tracing/ftrace: fix a memory leak in stat tracing
Impact: fix memory leak
This patch fixes a memory leak inside reset_stat_list(). The freeing
loop iterated only once.
Also turn the stat_list into a simple struct list_head, which
simplify the code and avoid an unused static pointer.
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-xtensa/auxvec.h')
0 files changed, 0 insertions, 0 deletions