diff options
| author | Ian Rogers <irogers@google.com> | 2025-11-22 00:19:16 -0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-12-03 11:07:23 -0800 |
| commit | b4e44399eb2ebe21d3b00ae14e8ebaab1a3aa094 (patch) | |
| tree | 0735f624f3254df29304be03be94afc72a97a706 | |
| parent | b3ea721b804f9b7ae1de2a651aa4aca9bf5ff04b (diff) | |
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>
| -rw-r--r-- | tools/perf/util/symbol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 6ddbf4427c60..21d3e328899b 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -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 */ |
