commit | f84ae29a6169318f9c929720c49d96323d2bbab9 | [log] [tgz] |
---|---|---|
author | Hewenliang <hewenliang4@huawei.com> | Mon Dec 09 01:35:49 2019 -0500 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Fri Dec 20 18:47:50 2019 -0300 |
tree | 490d543eb2e4ae728867ad37f635b691925813fa | |
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>