mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05: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