diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-07-23 11:29:47 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-07-23 09:53:55 -0400 |
commit | 636eacee3b0c76915151db37203cc624becb6d7b (patch) | |
tree | 99251e7d38d22b3f5b3808d797757840a597349b /kernel/trace/trace_printk.c | |
parent | 87827111a5538633b18e5c641ced673c4c2bb6ce (diff) | |
download | linux-next-636eacee3b0c76915151db37203cc624becb6d7b.tar.gz |
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/trace/trace_printk.c')
0 files changed, 0 insertions, 0 deletions