kernel-fxtec-pro1x/tools/lib/traceevent
Hewenliang 6cb939e8d4 tools lib traceevent: Fix memory leakage in filter_event
[ Upstream commit f84ae29a6169318f9c929720c49d96323d2bbab9 ]

It is necessary to call free_arg(arg) when add_filter_type() returns NULL
in filter_event().

Signed-off-by: Hewenliang <hewenliang4@huawei.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Feilong Lin <linfeilong@huawei.com>
Cc: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Link: http://lore.kernel.org/lkml/20191209063549.59941-1-hewenliang4@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-05 14:43:41 +00:00
..
.gitignore
Build
event-parse.c
event-parse.h
event-plugin.c
event-utils.h
kbuffer-parse.c
kbuffer.h
Makefile
parse-filter.c tools lib traceevent: Fix memory leakage in filter_event 2020-02-05 14:43:41 +00:00
parse-utils.c
plugin_cfg80211.c
plugin_function.c
plugin_hrtimer.c
plugin_jbd2.c
plugin_kmem.c
plugin_kvm.c
plugin_mac80211.c
plugin_sched_switch.c
plugin_scsi.c
plugin_xen.c
trace-seq.c