diff options
author | Riccardo Mancini <[email protected]> | 2021-07-15 18:07:23 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-07-15 17:35:57 -0300 |
commit | 659ede7d13f1cc37882088deecbc085da285b8f8 (patch) | |
tree | cc254e4a77fe91739a5707294657e20dfd15b368 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3cb4d5e00e037c70f239173bdd399a7e6040830f (diff) |
perf trace: Free strings in trace__parse_events_option()
ASan reports several memory leaks running:
# perf test "88: Check open filename arg using perf trace + vfs_getname"
The fourth of these leaks is related to some strings never being freed
in trace__parse_events_option.
This patch adds the missing frees.
Signed-off-by: Riccardo Mancini <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/34d08535b11124106b859790549991abff5a7de8.1626343282.git.rickyman7@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions