Re: [PATCH v1 3/4] perf trace: Add missed freeing of ordered events and thread
From: Arnaldo Carvalho de Melo
Date: Mon Jun 16 2025 - 12:28:22 EST
On Fri, Jun 13, 2025 at 09:16:26PM -0700, Howard Chu wrote:
> TL;DR: (definitely lost: 5,248 bytes in 17 blocks, 3,586 bytes in 12
> blocks) -> (definitely lost: 4,992 bytes in 16 blocks, indirectly
> lost: 0 bytes in 0 blocks), the leak of thread__new() is fixed.
>
> Thank you so much for fixing this.
>
> On Fri, Jun 13, 2025 at 5:41 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> >
> > Caught by leak sanitizer running "perf trace BTF general tests".
> >
> > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
>
> Acked-by: Howard Chu <howardchu95@xxxxxxxxx>
Small enough, applied to perf-tools.
- Arnaldo