Commit dc3a80c9 authored by Namhyung Kim's avatar Namhyung Kim
Browse files

perf sched: Fix memory leaks in 'perf sched map'



It maintains per-cpu pointers for the current thread but it doesn't
release the refcounts.

Fixes: 5e895278 ("perf sched: Move curr_thread initialization to perf_sched__map()")
Reviewed-by: default avatarIan Rogers <irogers@google.com>
Tested-by: default avatarIan Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250703014942.1369397-4-namhyung@kernel.org


Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent aa9fdd10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment