aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRiccardo Mancini2021-07-15 18:07:19 +0200
committerArnaldo Carvalho de Melo2021-07-15 17:30:22 -0300
commitf8cbb0f926ae1e1fb5f9e51614e5437560ed4039 (patch)
treed3a90f418205011737b7622bc1d8051c791c9f42 /net
parentfaf3ac305d61341c74e5cdd9e41daecce7f67bfe (diff)
perf lzma: Close lzma stream on exit
ASan reports memory leaks when running: # perf test "88: Check open filename arg using perf trace + vfs_getname" One of these is caused by the lzma stream never being closed inside lzma_decompress_to_file(). This patch adds the missing lzma_end(). Signed-off-by: Riccardo Mancini <rickyman7@gmail.com> Fixes: 80a32e5b498a7547 ("perf tools: Add lzma decompression support for kernel module") Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/aaf50bdce7afe996cfc06e1bbb36e4a2a9b9db93.1626343282.git.rickyman7@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions