linux/tools/lib
Hewenliang aa62f850b5 libtraceevent: Fix memory leakage in copy_filter_type
[ Upstream commit 10992af6bf ]

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

Fixes: ef3072cd1d ("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>
2019-12-31 16:45:45 +01:00
..
api
bpf net-af_xdp: Use correct number of channels from ethtool 2019-12-31 16:45:40 +01:00
lockdep
subcmd libsubcmd: Use -O0 with DEBUG=1 2019-12-31 16:44:56 +01:00
symbol
traceevent libtraceevent: Fix memory leakage in copy_filter_type 2019-12-31 16:45:45 +01:00
argv_split.c
bitmap.c
ctype.c
find_bit.c
hweight.c
rbtree.c rbtree: avoid generating code twice for the cached versions (tools copy) 2019-09-25 17:51:39 -07:00
str_error_r.c
string.c
vsprintf.c
zalloc.c