aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/atom/punit_atom_debug.c
diff options
context:
space:
mode:
authorSanskriti Sharma <[email protected]>2018-10-02 14:29:11 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-10-08 17:23:45 +0000
commitfaedbf3fd19f2511a39397f76359e4cc6ee93072 (patch)
tree6728a71d51b15c427bcfa141bf0daa837e7980dc /arch/x86/platform/atom/punit_atom_debug.c
parentperf strbuf: Match va_{add,copy} with va_end (diff)
downloadkernel-faedbf3fd19f2511a39397f76359e4cc6ee93072.tar.gz
kernel-faedbf3fd19f2511a39397f76359e4cc6ee93072.zip
perf tools: Cleanup trace-event-info 'tdata' leak
Free tracing_data structure in tracing_data_get() error paths. Fixes the following coverity complaint: Error: RESOURCE_LEAK (CWE-772): leaked_storage: Variable "tdata" going out of scope leaks the storage Signed-off-by: Sanskriti Sharma <[email protected]> Reviewed-by: Jiri Olsa <[email protected]> Cc: Joe Lawrence <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'arch/x86/platform/atom/punit_atom_debug.c')
0 files changed, 0 insertions, 0 deletions