tracing/filters: free pred when clearing filters
authorTom Zanussi <tzanussi@gmail.com>
Tue, 24 Mar 2009 07:14:11 +0000 (02:14 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Mar 2009 07:26:51 +0000 (08:26 +0100)
commit09f1f245c79585383de63e3ca54d0f91824bff3a
treebc3aaadf4cc0c0cd90bafd4a61ad4c15392da303
parent1fc2d5c11918082536acf261ce6abb1f5511053f
tracing/filters: free pred when clearing filters

Impact: fix (small) per trace filter modification memory leak

Free the current pred when clearing the filters via the filter files.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1237878851.8339.58.camel@charm-linux>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_events.c