[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241016235622.52166-1-irogers@google.com>
Date: Wed, 16 Oct 2024 16:56:20 -0700
From: Ian Rogers <irogers@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>,
Kan Liang <kan.liang@...ux.intel.com>, Kajol Jain <kjain@...ux.ibm.com>,
Athira Rajeev <atrajeev@...ux.vnet.ibm.com>, "Steinar H. Gunderson" <sesse@...gle.com>,
"Masami Hiramatsu (Google)" <mhiramat@...nel.org>, Alexander Lobakin <aleksander.lobakin@...el.com>,
"David S. Miller" <davem@...emloft.net>, Hemant Kumar <hemant@...ux.vnet.ibm.com>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [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/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
Powered by blists - more mailing lists