diff options
| author | Yang Jihong <yangjihong1@huawei.com> | 2024-02-06 08:32:28 +0000 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2024-02-09 14:08:41 -0800 |
| commit | 1eb3d924e3c0b8c27388b0583a989d757866efb6 (patch) | |
| tree | eb79acbcfd1243e9fd501d720ae03aaa450ee26f /tools/perf/util/stat-display.c | |
| parent | perf sched: Move curr_pid and cpu_last_switched initialization to perf_sched_... (diff) | |
| download | linux-1eb3d924e3c0b8c27388b0583a989d757866efb6.tar.gz linux-1eb3d924e3c0b8c27388b0583a989d757866efb6.zip | |
perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()
slist needs to be freed in both error path and normal path in
thread_map__new_by_tid_str().
Fixes: b52956c961be3a04 ("perf tools: Allow multiple threads or processes in record, stat, top")
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Yang Jihong <yangjihong1@huawei.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240206083228.172607-6-yangjihong1@huawei.com
Diffstat (limited to 'tools/perf/util/stat-display.c')
0 files changed, 0 insertions, 0 deletions
