]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf mem-events: Don't leak online CPU map
authorIan Rogers <irogers@google.com>
Sat, 22 Nov 2025 08:19:19 +0000 (00:19 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 19:07:46 +0000 (11:07 -0800)
commit69d247295a51db53294efc14dc7e73b3c57df0f8
tree70fc62010c973c86ad9fd2716826bda87bdfe31e
parentf60efb4454b24cc944ff3eac164bb9dce9169f71
perf mem-events: Don't leak online CPU map

Reference count checking found the online CPU map was being gotten but
not put. Add in the missing put.

Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/mem-events.c