diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-08-21 09:57:33 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-08-24 16:20:58 +0200 |
commit | ffe67c2fabf128122b30fbf0ac498928e171b0b3 (patch) | |
tree | f0c0aa161d0b99b078817b3750f59df9d081f99c /tools/perf/builtin-annotate.c | |
parent | perf probe: Remove unused tracing_dir variable (diff) | |
download | linux-ffe67c2fabf128122b30fbf0ac498928e171b0b3.tar.xz linux-ffe67c2fabf128122b30fbf0ac498928e171b0b3.zip |
perf tools: Fix error handling of lzma decompression
lzma_decompress_to_file() never actually closes the file pointer, let's
fix it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1471766253-1964-1-git-send-email-shawn.lin@rock-chips.com
[ Make err = -1, the common case, set it to 0 before the error label ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions