summaryrefslogtreecommitdiff
path: root/tools/perf/util/probe-file.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2016-04-26 09:47:37 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-04-26 16:56:08 +0300
commit062d6c2aec0e087be956494a73221c04eca115fe (patch)
tree0f53396a11bb4c4aff693ee66ba32475f888b7e1 /tools/perf/util/probe-file.c
parentb04b7023751bf6519eee64467b6477f0e7fb82a1 (diff)
downloadlinux-062d6c2aec0e087be956494a73221c04eca115fe.tar.xz
perf probe: Close target file on error path
Fix a bug to close target elf file in get_text_start_address(). Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20160426064737.1443.44093.stgit@devbox Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-file.c')
0 files changed, 0 insertions, 0 deletions