]> git.droids-corp.org - dpdk.git/commit
devargs: fix leak on hotplug failure
authorDavid Marchand <david.marchand@redhat.com>
Thu, 14 Apr 2022 11:27:56 +0000 (13:27 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 19 May 2022 16:45:20 +0000 (18:45 +0200)
commit26d734b5d280b96f91f00f5e0c6c7eff99facef2
tree0ec12a4d9d40fd7195384fa82b4cd37efed4ce35
parent00901e4d1a9ee7c7b43d0a3592683f0a420a331d
devargs: fix leak on hotplug failure

Caught by ASan, if a secondary process tried to attach a device with an
incorrect driver name, devargs was leaked.

Fixes: 64051bb1f144 ("devargs: unify scratch buffer storage")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
lib/eal/common/eal_common_dev.c