tracing: Fix failure path in ftrace_regex_open()
commit79fe249c8368be35c9ca05982e80c68e959505e1
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 22 Sep 2009 05:54:28 +0000 (22 13:54 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Sep 2009 08:28:57 +0000 (22 10:28 +0200)
treecfb0b12a3d189fde435db4cab817b740c14517f3
parent1eb90f138b3fb4cc15f3acec94aa788e846269f7
tracing: Fix failure path in ftrace_regex_open()

Don't forget to free trace_parser if seq_open() returned failure.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <4AB86694.4040803@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c