aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorRiccardo Mancini <[email protected]>2021-07-15 16:07:23 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-07-15 20:35:57 +0000
commit659ede7d13f1cc37882088deecbc085da285b8f8 (patch)
treecc254e4a77fe91739a5707294657e20dfd15b368 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentperf trace: Free syscall tp fields in evsel->priv (diff)
downloadkernel-659ede7d13f1cc37882088deecbc085da285b8f8.tar.gz
kernel-659ede7d13f1cc37882088deecbc085da285b8f8.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions