Re: [PATCH 5/5] perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()

From: Yang Jihong
Date: Tue Feb 06 2024 - 02:10:12 EST


Hello,

On 2024/2/6 3:09, Arnaldo Carvalho de Melo wrote:
On Mon, Feb 05, 2024 at 10:46:16AM +0000, Yang Jihong wrote:
slist needs to be freed in both error path and normal path in
thread_map__new_by_tid_str().

Please add:

Fixes: b52956c961be3a04 ("perf tools: Allow multiple threads or processes in record, stat, top")

OK, will add fixes tag in v2.

Reviewed-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Thanks for the reviewed-by tag

- Arnaldo

Thanks,
Yang