[PATCH v2 0/2] Fix 2 memory leaks

Ian Rogers posted 2 patches 1 month, 1 week ago
tools/perf/util/disasm.c       | 11 +++++++----
tools/perf/util/probe-finder.c |  4 ++++
tools/perf/util/probe-finder.h |  4 ++--
3 files changed, 13 insertions(+), 6 deletions(-)
[PATCH v2 0/2] Fix 2 memory leaks
Posted by Ian Rogers 1 month, 1 week ago
Fix memory leaks with libcapstone and libdw that are detected by leak
sanitizer as part of perf test.

Original v1 was here:
https://lore.kernel.org/lkml/20240924003720.617258-1-irogers@google.com/

v2: Avoid broken free reported by Namhyung. Move build fix to
    subsequent patch.

Ian Rogers (2):
  perf disasm: Fix capstone memory leak
  perf probe: Fix libdw memory leak

 tools/perf/util/disasm.c       | 11 +++++++----
 tools/perf/util/probe-finder.c |  4 ++++
 tools/perf/util/probe-finder.h |  4 ++--
 3 files changed, 13 insertions(+), 6 deletions(-)

-- 
2.47.0.105.g07ac214952-goog
Re: [PATCH v2 0/2] Fix 2 memory leaks
Posted by Namhyung Kim 1 month, 1 week ago
On Wed, 16 Oct 2024 16:56:20 -0700, Ian Rogers wrote:

> Fix memory leaks with libcapstone and libdw that are detected by leak
> sanitizer as part of perf test.
> 
> Original v1 was here:
> https://lore.kernel.org/lkml/20240924003720.617258-1-irogers@google.com/
> 
> v2: Avoid broken free reported by Namhyung. Move build fix to
>     subsequent patch.
> 
> [...]

Applied to perf-tools-next, thanks!

Best regards,
Namhyung