linux-stable/tools
Yang Jihong f9e92ad5eb perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()
[ Upstream commit 1eb3d924e3 ]

slist needs to be freed in both error path and normal path in
thread_map__new_by_tid_str().

Fixes: b52956c961 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:22:39 -04:00
..
accounting
arch parisc: Align parisc MADV_XXX constants with all other architectures 2023-01-18 11:30:51 +01:00
bpf bpftool: Fix bug for long instructions in program CFG dumps 2023-05-17 11:13:13 +02:00
build tools build: Switch to new openssl API for test-libcrypto 2022-08-25 11:15:39 +02:00
cgroup
firewire
gpio
hv
iio tools: iio: iio_generic_buffer ensure alignment 2023-11-20 10:29:20 +01:00
include tools headers UAPI: Sync linux/perf_event.h with the kernel sources 2023-12-13 17:42:20 +01:00
kvm/kvm_stat
laptop
leds
lib libsubcmd: Fix memory leak in uniq() 2024-02-23 08:12:51 +01:00
memory-model
nfsd
objtool objtool: Add a missing comma to avoid string concatenation 2023-02-06 07:49:45 +01:00
pci
pcmcia
perf perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str() 2024-03-26 18:22:39 -04:00
power cpupower: add Makefile dependencies for install targets 2023-10-10 21:45:01 +02:00
scripts
spi
testing selftests/vm: fix map_hugetlb length used for testing read and write 2024-03-15 10:48:18 -04:00
thermal/tmon tools/thermal: Fix possible path truncations 2022-08-25 11:15:26 +02:00
time
usb usb: testusb: Fix for showing the connection speed 2021-10-09 14:11:03 +02:00
virtio tools/virtio: fix the vringh test for virtio ring changes 2023-02-22 12:47:19 +01:00
vm tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep" 2022-12-08 11:18:33 +01:00
wmi
Makefile