diff options
| author | Ian Rogers <irogers@google.com> | 2025-11-22 00:19:18 -0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-12-03 11:07:40 -0800 |
| commit | f60efb4454b24cc944ff3eac164bb9dce9169f71 (patch) | |
| tree | dbc31d40f04fd9e6b7cadf5d5e659b8fcf415cb2 /tools/lib/python/kdoc/kdoc_re.py | |
| parent | dc4d16543e60c22cd342135f321e99f2ecad3d54 (diff) | |
perf hist: In init, ensure mem_info is put on error paths
Rather than exit the internal map_symbols directly, put the mem-info
that does this and also lowers the reference count on the mem-info
itself otherwise the mem-info is being leaked.
Fixes: 56e144fe98260a0f ("perf mem_info: Add and use map_symbol__exit and addr_map_symbol__exit")
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>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
