numam-dpdk/drivers/bus
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
..
auxiliary eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
dpaa eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
fslmc eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
ifpga eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
pci eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
vdev eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
vmbus bus/vmbus: fix leak on device scan 2021-10-05 17:14:58 +02:00
meson.build bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00