Re: [PATCH v1] perf ftrace: Proper error clean up in print_profile_result
From: Namhyung Kim
Date: Thu Apr 02 2026 - 23:13:16 EST
On Tue, Mar 31, 2026 at 10:53:57PM -0700, Ian Rogers wrote:
> On Fri, Mar 20, 2026 at 7:50 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> >
> > On Fri, Mar 6, 2026 at 10:50 AM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> > >
> > > The ftrace profile_hash is cleaned up on success but not on memory
> > > allocation and empty paths. Fix by running the clean up for all. Free
> > > the profile too, so make it NULL, just for clarity that this is all
> > > clean up code.
> > >
> > > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> >
> > Ping.
>
> Ping.
Sorry for the delay. Can you please rebase the change? It doesn't
apply anymore.
Thanks,
Namhyung