trace_stack: Fix seqfile memory leak
commitd8cc1ab793993c886c62abf77c93287df33ffd8b
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 23 Jul 2009 03:28:40 +0000 (23 11:28 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 23 Jul 2009 13:52:09 +0000 (23 09:52 -0400)
tree1e941a2832791b69ab9870c9ad9e9e844af50e1c
parente5d490b252423605a77c54b2e35b10ea663763df
trace_stack: Fix seqfile memory leak

Every time we cat stack_trace, we leak memory allocated by seq_open().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4A67D8E8.3020500@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_stack.c