Skip to content
Commit ffe67c2f authored by Shawn Lin's avatar Shawn Lin Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarShawn 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 04e11960
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment