linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix 2 memory leaks
@ 2024-10-16 23:56 Ian Rogers
  2024-10-16 23:56 ` [PATCH v2 1/2] perf disasm: Fix capstone memory leak Ian Rogers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ian Rogers @ 2024-10-16 23:56 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Ian Rogers, Adrian Hunter, Kan Liang, Kajol Jain, Athira Rajeev,
	Steinar H. Gunderson, Masami Hiramatsu (Google),
	Alexander Lobakin, David S. Miller, Hemant Kumar,
	linux-perf-users, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-18 15:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-16 23:56 [PATCH v2 0/2] Fix 2 memory leaks Ian Rogers
2024-10-16 23:56 ` [PATCH v2 1/2] perf disasm: Fix capstone memory leak Ian Rogers
2024-10-16 23:56 ` [PATCH v2 2/2] perf probe: Fix libdw " Ian Rogers
2024-10-18 15:20 ` [PATCH v2 0/2] Fix 2 memory leaks Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).