aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHewenliang <[email protected]>2019-11-18 20:44:15 -0500
committerArnaldo Carvalho de Melo <[email protected]>2019-11-22 10:48:14 -0300
commit10992af6bf46a2048ad964985a5b77464e5563b1 (patch)
tree24c74ec0c82bd48929bc344e2b714bb2ab2553c8 /tools/perf/util/trace-event-scripting.c
parent68401a1799fa14cb72c2a129bbefdacd44279772 (diff)
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 <[email protected]> Reviewed-by: Steven Rostedt (VMware) <[email protected]> Cc: Tzvetomir Stoyanov <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions