mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 07:47:50 +00:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user