android_kernel_samsung_a7y1.../tools/lib/traceevent
Hewenliang db0d881fc5 libtraceevent: Fix memory leakage in copy_filter_type
[ Upstream commit 10992af6bf46a2048ad964985a5b77464e5563b1 ]

It is necessary to free the memory that we have allocated when error occurs.

Fixes: ef3072cd1d5c ("tools lib traceevent: Get rid of die in add_filter_type()")
Signed-off-by: Hewenliang <hewenliang4@huawei.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Link: http://lore.kernel.org/lkml/20191119014415.57210-1-hewenliang4@huawei.com
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:21:50 +02:00
..
Build A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
event-parse.c tools lib traceevent: Do not free tep->cmdlines in add_new_comm() on failure 2020-04-07 08:08:12 +02:00
event-parse.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
event-plugin.c libtraceevent: Change users plugin directory 2020-04-07 07:38:57 +02:00
event-utils.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kbuffer-parse.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kbuffer.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile libtraceevent: Change users plugin directory 2020-04-07 07:38:57 +02:00
parse-filter.c libtraceevent: Fix memory leakage in copy_filter_type 2020-04-07 13:21:50 +02:00
parse-utils.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_cfg80211.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_function.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_hrtimer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_jbd2.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_kmem.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_kvm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_mac80211.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_sched_switch.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_scsi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plugin_xen.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace-seq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30