[PATCH 0/5] perf tool: small coverity clean ups

From: Sanskriti Sharma
Date: Tue Oct 02 2018 - 10:29:23 EST


This patch set fixes a few coverity static code analyzer complaints. Build
tested only.

Sanskriti Sharma (5):
perf strbuf: match va_{add,copy} with va_end
perf tools: cleanup trace-event-info 'tdata' leak
perf tools: free 'printk' string in parse_ftrace_printk()
perf tools: avoid double free in read_event_file()
perf tools: free temporary 'sys' string in read_event_files()

tools/perf/util/strbuf.c | 10 ++++++++--
tools/perf/util/trace-event-info.c | 2 ++
tools/perf/util/trace-event-parse.c | 1 +
tools/perf/util/trace-event-read.c | 9 +++++----
4 files changed, 16 insertions(+), 6 deletions(-)

--
1.8.3.1