rcu: trace fix possible mem-leak
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 30 Jul 2008 18:20:55 +0000 (14:20 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 Aug 2008 15:54:40 +0000 (17:54 +0200)
In the initialization of the RCU trace module, if
rcupreempt_debugfs_init() fails, we never free the the trace buffer.

This patch frees the trace buffer in case the debugfs fails.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Reviewed-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found