Re: [PATCH] perf pmu: Fix a potential memory leak in perf_pmu__lookup()
From: Namhyung Kim
Date: Tue Feb 27 2024 - 12:30:55 EST
On Sat, 26 Aug 2023 23:32:45 +0200, Christophe JAILLET wrote:
> The commit in Fixes has reordered some code, but missed an error handling
> path.
>
> 'goto err' now, in order to avoid a memory leak in case of error.
>
>
Applied to perf-tools-next, thanks!
Best regards,
--
Namhyung Kim <namhyung@xxxxxxxxxx>