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 tools lib traceevent: Do not free tep->cmdlines in add_new_comm() on failure 2019-10-11 18:21:27 +02:00
event-parse.h
event-plugin.c libtraceevent: Change users plugin directory 2019-10-05 13:09:53 +02:00
event-utils.h
kbuffer-parse.c
kbuffer.h
Makefile libtraceevent: Fix lib installation with O= 2020-01-12 12:17:06 +01:00
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