Skip to content

Fix 2 memory leaks

Ian Rogers linux-perf-users lkml 2 versions – Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v13 patches 14 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2perf disasm: Fix capstone memory leaktools/perf/util/disasm.c+7 -40 replies
2/2perf probe: Fix libdw memory leaktools/perf/util/probe-finder.c tools/perf/util/probe-finder.h+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix 2 memory leaks

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/[email protected]/

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(-)
Signature · 1 line
2.47.0.105.g07ac214952-goog