]> git.ipfire.org Git - thirdparty/linux.git/commit
perf tests kallsyms: Fix missed map__put()
authorIan Rogers <irogers@google.com>
Wed, 10 Dec 2025 19:01:41 +0000 (11:01 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Jan 2026 20:29:15 +0000 (17:29 -0300)
commita58807adbed5f532efb231e5490767f284f237c0
tree4fd30e0d287517f2d3f03b94fedee7e5243c19f9
parent4906eccbfae3eec58f7bf27f2921dc365bedafec
perf tests kallsyms: Fix missed map__put()

Issue was caught by leak sanitizer and the test robot.

Fixes: 34e271ae55382fbd ("perf test: Add kallsyms split test")
Reported-by: kernel test robot <oliver.sang@intel.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Closes: https://lore.kernel.org/oe-lkp/202512101502.f3819cd3-lkp@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/kallsyms-split.c