diff options
| author | Ian Rogers <[email protected]> | 2025-03-05 19:19:31 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-03-06 23:59:41 +0000 |
| commit | 2c744f38da7aeae77f9fc220a538fe8ca88f6db4 (patch) | |
| tree | 4dcf02a5add793139e9661131b8aff1b4fbf298a /tools/perf/util/annotate.h | |
| parent | perf machine: Fix insertion of PERF_RECORD_KSYMBOL related kernel maps (diff) | |
| download | kernel-2c744f38da7aeae77f9fc220a538fe8ca88f6db4.tar.gz kernel-2c744f38da7aeae77f9fc220a538fe8ca88f6db4.zip | |
perf test: Fix leak in "Synthesize attr update" test
The own_cpus map variable may be non-NULL and hold a reference, in
particular on hybrid machines. Do a put before overwriting the
variable to avoid a memory leak.
Signed-off-by: Ian Rogers <[email protected]>
Reviewed-by: James Clark <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions
