diff options
author | Hewenliang <hewenliang4@huawei.com> | 2019-12-09 01:35:49 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-12-20 18:47:50 -0300 |
commit | f84ae29a6169318f9c929720c49d96323d2bbab9 (patch) | |
tree | 490d543eb2e4ae728867ad37f635b691925813fa /tools/perf/scripts/python | |
parent | 9f0bff1180efc9ea988fed3fd93da7647151ac8b (diff) |
tools lib traceevent: Fix memory leakage in filter_event
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions