Re: [PATCH 2/2] rcu: trace fix possible mem-leak

From: Ingo Molnar
Date: Fri Aug 15 2008 - 11:56:06 EST



* Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

> On Wed, Jul 30, 2008 at 02:20:55PM -0400, Steven Rostedt wrote:
> > 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.
>
> Looks good as well!
>
> Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>

applied to tip/core/rcu - thanks.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/