]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf metricgroup: Missed free on error path
authorIan Rogers <irogers@google.com>
Fri, 24 Oct 2025 17:58:38 +0000 (10:58 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 4 Nov 2025 04:57:21 +0000 (20:57 -0800)
commit3bae9228a5503f7fb6464e895c3f542221ce9395
treed7739923a6e60b61874163b03908c50874282885
parent5faa23cdab412ad2c65d18c30f78d6489ec7c9de
perf metricgroup: Missed free on error path

If an out-of-memory occurs the expr also needs freeing.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/metricgroup.c