commit | b00f0b6dc1773b4c8f538503247da050b5ea631b | [log] [tgz] |
---|---|---|
author | Zhaolei <zhaolei@cn.fujitsu.com> | Fri Mar 13 17:14:01 2009 +0800 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Mar 13 10:25:06 2009 +0100 |
tree | 94c81517cb3d1def0c0f9ccb33c48fb03c0f1c75 | |
parent | 62a394eb77a1ddea73273f53ed8c3ccf6e04f2fb [diff] |
ftrace: avoid double-free of dyn_ftrace If dyn_ftrace is freed before ftrace_release(), ftrace_release() will free it again and make ftrace_free_records wrong. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Cc: "Steven Rostedt ;" <rostedt@goodmis.org> LKML-Reference: <49BA23D9.1050900@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>