perf sched: Add missing perf_session__delete()

The perf sched stats record missed to release the session and ASAN
reported a leak.

Fixes: c3030995f2 ("perf sched stats: Add record and rawdump support")
Reviewed-and-tested-by: Swapnil Sapkal <swapnil.sapkal@amd.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
Namhyung Kim 2026-07-13 16:45:34 -07:00
commit 2bd4ad6914