]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf symbol-elf: Add missing puts on error path
authorIan Rogers <irogers@google.com>
Sat, 22 Nov 2025 08:19:15 +0000 (00:19 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 19:07:23 +0000 (11:07 -0800)
commitb3ea721b804f9b7ae1de2a651aa4aca9bf5ff04b
tree667940bfd5f6512370cfa81351a8a4bfd50e6b0b
parent830f1854c4a02d70d2d7d7e2e8f71cb3b928c0d6
perf symbol-elf: Add missing puts on error path

In dso__process_kernel_symbol if inserting a map fails, probably
ENOMEM, then the reference count puts were missing on the dso and map.

Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/symbol-elf.c