Re: [PATCH v2 0/3] perf sched stats: Fix memory leaks

From: Swapnil Sapkal

Date: Wed Jul 15 2026 - 14:09:52 EST


Hello Namhyung,

On 14-07-2026 05:15, Namhyung Kim wrote:
Hello,

This is a small series to fix memory leaks in the perf sched stats.
I've tested the changes with the address sanitizer.


Reviewed-and-tested-by: Swapnil Sapkal <swapnil.sapkal@xxxxxxx>

v2 changes)
* remove invalid file closing (Sashiko)


Thanks,
Namhyung


Namhyung Kim (3):
perf sched: Add missing perf_session__delete()
perf sched: Fix memory leaks in perf sched stats report
perf sched: Free subcommand string after perf sched stats

tools/perf/builtin-sched.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)

--
Thanks and Regards,
Swapnil