diff options
| author | Ian Rogers <irogers@google.com> | 2026-08-09 00:14:41 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-08-09 21:58:10 -0700 |
| commit | 340641a4b5fff4f4b12261c9d92169f6e2ea11f4 (patch) | |
| tree | 4481123bc1caca7467b254eabb71a361508bfdfd /scripts/Makefile.thinlto | |
| parent | d4171c774070e9d1c45324e3667d7dcba9be7749 (diff) | |
| download | linux-340641a4b5fff4f4b12261c9d92169f6e2ea11f4.tar.gz linux-340641a4b5fff4f4b12261c9d92169f6e2ea11f4.zip | |
perf stat: Fix evsel_list leak in cmd_stat
Fix a memory leak in cmd_stat() where evsel_list is leaked if an error
occurs while opening the output file.
Assisted-by: Antigravity:gemini-3.1-pro
Fixes: 361c99a661a7 ("perf evsel: Introduce perf_evlist")
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
