commit | abab9d37d2a826fcf588c5f30152dbe05c40111c | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Wed Nov 25 16:32:21 2009 +0800 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Nov 27 06:43:04 2009 +0100 |
tree | cc4bbdafb5dbf1883d714c1a650c5cc03f83512b | |
parent | 0f1ef51d244809f417bdf45cdb00109fb6005672 [diff] |
trace_kprobes: Fix memory leak tp->nr_args is not set before we "goto error", it causes memory leak for free_trace_probe() use tp->nr_args to free memory of args. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Acked-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <4B0CEB95.2060107@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>