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/iio/iio_generic_buffer.c | |
parent | 9f0bff1180efc9ea988fed3fd93da7647151ac8b (diff) | |
download | linux-f84ae29a6169318f9c929720c49d96323d2bbab9.tar.gz linux-f84ae29a6169318f9c929720c49d96323d2bbab9.tar.bz2 linux-f84ae29a6169318f9c929720c49d96323d2bbab9.zip |
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/iio/iio_generic_buffer.c')
0 files changed, 0 insertions, 0 deletions