numam-dpdk/drivers
David Marchand c6c865d7e2 bus/vmbus: fix leak on device scan
Caught running ASAN.
The device name was leaked on scan.
rte_device name field being a const, use a local pointer and release
in error path.

Fixes: 831dba47bd ("bus/vmbus: add Hyper-V virtual bus support")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Long Li <longli@microsoft.com>
2021-10-05 17:14:58 +02:00
..
baseband version: 21.11-rc0 2021-08-17 08:37:52 +02:00
bus bus/vmbus: fix leak on device scan 2021-10-05 17:14:58 +02:00
common common/iavf: fix ARQ resource leak 2021-09-28 05:33:44 +02:00
compress compress/mlx5: fix leak on QP setup failure 2021-09-06 21:46:34 +02:00
crypto common/cnxk: support tunnel header verification 2021-09-28 17:49:10 +02:00
event cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00
mempool mempool/stack: build on Windows 2021-10-01 16:46:05 +02:00
net sort symbol maps 2021-10-05 17:03:37 +02:00
raw raw/cnxk_bphy: support reading NPA/SSO PF function 2021-09-28 15:16:28 +02:00
regex regex/mlx5: fix leak after probing failure 2021-09-22 21:21:31 +02:00
vdpa vdpa/ifc: increase readability with bool type 2021-09-30 19:23:02 +02:00
meson.build build: fix essential drivers in disable list 2021-09-15 11:00:15 +02:00