perf machine: Free root_dir in machine__init() error path
authorJiri Olsa <jolsa@kernel.org>
Thu, 15 Feb 2018 12:26:29 +0000 (13:26 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Feb 2018 17:25:56 +0000 (14:25 -0300)
commit81f981d7ec43ed93901c12b6521d39b06f1ed3d3
tree82eb4797d8dcd323dc626bde756b0153ce37ace2
parentc39629614640a7a5331bf156b0d26effade0a67f
perf machine: Free root_dir in machine__init() error path

Free root_dir in machine__init() error path.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180215122635.24029-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/machine.c