perf record: Fix error paths
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 23 Sep 2016 14:38:37 +0000 (17:38 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Sep 2016 14:17:01 +0000 (11:17 -0300)
commit5c01ad60b8a23f8ff59b9a5a756f07ed08f0b6d1
tree018f44434ec7de86634e0086133bdaa3917a8006
parent394c01ed8aafdf0f14fb18c6d320d8a783da243c
perf record: Fix error paths

Some error paths do not tidy-up. Fix that.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: http://lkml.kernel.org/r/1474641528-18776-6-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c