Re: [PATCH v1] perf trace: Fix some more memory leaks

From: Howard Chu
Date: Tue Apr 01 2025 - 21:17:18 EST


Hello Ian,

On Tue, Apr 1, 2025 at 1:27 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> The files.max is the maximum valid fd in the files array and so
> freeing the values needs to be inclusive of the max value.
>
> Add missing thread__put of the found parent thread in
> thread__e_machine.
>
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>

Reviewed-by: Howard Chu <howardchu95@xxxxxxxxx>

Thanks,
Howard