Commit b4e44399 authored by Ian Rogers's avatar Ian Rogers Committed by Namhyung Kim
Browse files

perf symbol: Add missed dso__put



Add missing dso__put for the dso created in maps__split_kallsyms.

Signed-off-by: default avatarIan Rogers <irogers@google.com>
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
parent b3ea721b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */