summaryrefslogtreecommitdiff
path: root/scripts/Makefile.vmlinux_a
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-08-09 00:14:52 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-08-09 22:02:41 -0700
commitcb45ede21d02cc85de18ce6b60a51a7449f4179b (patch)
tree6f7c031056f3bf403a5256d752df7c40f53fa2c7 /scripts/Makefile.vmlinux_a
parentb9514a9a13fc782546df0fae7d5767dadd2094f5 (diff)
downloadlinux-cb45ede21d02cc85de18ce6b60a51a7449f4179b.tar.gz
linux-cb45ede21d02cc85de18ce6b60a51a7449f4179b.zip
perf python: Fix count_values memory leak in pyrf_evsel__read
In pyrf_evsel__read, if PyArg_ParseTuple fails, the allocated count_values is leaked. Move the allocation of count_values after the PyArg_ParseTuple call to prevent the memory leak. Fixes: 739621f65702 ("perf python: Add evsel read method") Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/Makefile.vmlinux_a')
0 files changed, 0 insertions, 0 deletions