diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-07-23 05:29:47 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-07-23 15:53:55 +0200 |
commit | 636eacee3b0c76915151db37203cc624becb6d7b (patch) | |
tree | 99251e7d38d22b3f5b3808d797757840a597349b /kernel/latencytop.c | |
parent | function-graph: Fix seqfile memory leak (diff) | |
download | linux-636eacee3b0c76915151db37203cc624becb6d7b.tar.xz linux-636eacee3b0c76915151db37203cc624becb6d7b.zip |
tracing/stat: Fix seqfile memory leak
Every time we cat a trace_stat file, we leak memory allocated by
seq_open().
Also fix memory leak in a failure path in tracing_stat_open().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4A67D92B.4060704@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions