commit | 5802294f1b1895ee19a3d0ae72805da453afb9de | [log] [tgz] |
---|---|---|
author | Steven Rostedt <rostedt@goodmis.org> | Wed Jul 30 14:20:55 2008 -0400 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Aug 15 17:54:40 2008 +0200 |
tree | c6a09592897a8b9e0c6abf3a80070a8abb614744 | |
parent | dd0078f4f04d939950a792c493d7d97d7ce663b8 [diff] |
rcu: trace fix possible mem-leak 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>