commit | 57be88878e7aa38750384704d811485a607bbda4 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Tue Jun 16 16:39:12 2009 +0800 |
committer | Steven Rostedt <rostedt@goodmis.org> | Tue Jun 16 16:25:35 2009 -0400 |
tree | e65873cc622b7477ec6cf7ef7be8f63f4aef481f | |
parent | fa7439531dee58277748c819785a44d3203c4b51 [diff] |
tracing/filters: free filter_string in destroy_preds() filter->filter_string is not freed when unloading a module: # insmod trace-events-sample.ko # echo "bar < 100" > /mnt/tracing/events/sample/foo_bar/filter # rmmod trace-events-sample.ko [ Impact: fix memory leak when unloading module ] Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> LKML-Reference: <4A375A30.9060802@cn.fujitsu.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>