summary refs log tree commit diff
path: root/Documentation/trace
diff options
context:
space:
mode:
authorHewenliang <hewenliang4@huawei.com>2019-11-18 20:44:15 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-11-22 10:48:14 -0300
commit10992af6bf46a2048ad964985a5b77464e5563b1 (patch)
tree24c74ec0c82bd48929bc344e2b714bb2ab2553c8 /Documentation/trace
parent68401a1799fa14cb72c2a129bbefdacd44279772 (diff)
downloadlinux-10992af6bf46a2048ad964985a5b77464e5563b1.tar.gz
libtraceevent: Fix memory leakage in copy_filter_type
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>
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions