perf symbol: Add missed dso__put

Add missing dso__put for the dso created in maps__split_kallsyms.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
Ian Rogers
2025-11-22 00:19:16 -08:00
committed by Namhyung Kim
parent b3ea721b80
commit b4e44399eb

View File

@@ -987,6 +987,7 @@ static int maps__split_kallsyms(struct maps *kmaps, struct dso *dso, u64 delta,
dso__put(ndso);
return -1;
}
dso__put(ndso);
++kernel_range;
} else if (delta) {
/* Kernel was relocated at boot time */